pycarlo 0.10.194__py3-none-any.whl → 0.10.195__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pycarlo might be problematic. Click here for more details.

pycarlo/lib/schema.json CHANGED
@@ -69705,6 +69705,22 @@
69705
69705
  "name": "String",
69706
69706
  "ofType": null
69707
69707
  }
69708
+ },
69709
+ {
69710
+ "args": [],
69711
+ "deprecationReason": null,
69712
+ "description": "List of all retry attempts for this task run",
69713
+ "isDeprecated": false,
69714
+ "name": "attempts",
69715
+ "type": {
69716
+ "kind": "LIST",
69717
+ "name": null,
69718
+ "ofType": {
69719
+ "kind": "OBJECT",
69720
+ "name": "AirflowTaskRunAttempt",
69721
+ "ofType": null
69722
+ }
69723
+ }
69708
69724
  }
69709
69725
  ],
69710
69726
  "inputFields": null,
@@ -69766,6 +69782,206 @@
69766
69782
  "name": "AirflowUrls",
69767
69783
  "possibleTypes": null
69768
69784
  },
69785
+ {
69786
+ "description": "Individual attempt details for an Airflow task run",
69787
+ "enumValues": null,
69788
+ "fields": [
69789
+ {
69790
+ "args": [],
69791
+ "deprecationReason": null,
69792
+ "description": "Attempt number",
69793
+ "isDeprecated": false,
69794
+ "name": "attemptNumber",
69795
+ "type": {
69796
+ "kind": "NON_NULL",
69797
+ "name": null,
69798
+ "ofType": {
69799
+ "kind": "SCALAR",
69800
+ "name": "Int",
69801
+ "ofType": null
69802
+ }
69803
+ }
69804
+ },
69805
+ {
69806
+ "args": [],
69807
+ "deprecationReason": null,
69808
+ "description": "Attempt start time",
69809
+ "isDeprecated": false,
69810
+ "name": "startDate",
69811
+ "type": {
69812
+ "kind": "NON_NULL",
69813
+ "name": null,
69814
+ "ofType": {
69815
+ "kind": "SCALAR",
69816
+ "name": "DateTime",
69817
+ "ofType": null
69818
+ }
69819
+ }
69820
+ },
69821
+ {
69822
+ "args": [],
69823
+ "deprecationReason": null,
69824
+ "description": "Attempt end time",
69825
+ "isDeprecated": false,
69826
+ "name": "endDate",
69827
+ "type": {
69828
+ "kind": "SCALAR",
69829
+ "name": "DateTime",
69830
+ "ofType": null
69831
+ }
69832
+ },
69833
+ {
69834
+ "args": [],
69835
+ "deprecationReason": null,
69836
+ "description": "Attempt state",
69837
+ "isDeprecated": false,
69838
+ "name": "state",
69839
+ "type": {
69840
+ "kind": "NON_NULL",
69841
+ "name": null,
69842
+ "ofType": {
69843
+ "kind": "ENUM",
69844
+ "name": "AirflowRunState",
69845
+ "ofType": null
69846
+ }
69847
+ }
69848
+ },
69849
+ {
69850
+ "args": [],
69851
+ "deprecationReason": null,
69852
+ "description": "Whether attempt succeeded",
69853
+ "isDeprecated": false,
69854
+ "name": "success",
69855
+ "type": {
69856
+ "kind": "NON_NULL",
69857
+ "name": null,
69858
+ "ofType": {
69859
+ "kind": "SCALAR",
69860
+ "name": "Boolean",
69861
+ "ofType": null
69862
+ }
69863
+ }
69864
+ },
69865
+ {
69866
+ "args": [],
69867
+ "deprecationReason": null,
69868
+ "description": "Attempt duration in seconds",
69869
+ "isDeprecated": false,
69870
+ "name": "duration",
69871
+ "type": {
69872
+ "kind": "SCALAR",
69873
+ "name": "Float",
69874
+ "ofType": null
69875
+ }
69876
+ },
69877
+ {
69878
+ "args": [],
69879
+ "deprecationReason": null,
69880
+ "description": "Error message if failed",
69881
+ "isDeprecated": false,
69882
+ "name": "exceptionMessage",
69883
+ "type": {
69884
+ "kind": "SCALAR",
69885
+ "name": "String",
69886
+ "ofType": null
69887
+ }
69888
+ }
69889
+ ],
69890
+ "inputFields": null,
69891
+ "interfaces": [],
69892
+ "kind": "OBJECT",
69893
+ "name": "AirflowTaskRunAttempt",
69894
+ "possibleTypes": null
69895
+ },
69896
+ {
69897
+ "description": null,
69898
+ "enumValues": [
69899
+ {
69900
+ "deprecationReason": null,
69901
+ "description": null,
69902
+ "isDeprecated": false,
69903
+ "name": "failed"
69904
+ },
69905
+ {
69906
+ "deprecationReason": null,
69907
+ "description": null,
69908
+ "isDeprecated": false,
69909
+ "name": "queued"
69910
+ },
69911
+ {
69912
+ "deprecationReason": null,
69913
+ "description": null,
69914
+ "isDeprecated": false,
69915
+ "name": "running"
69916
+ },
69917
+ {
69918
+ "deprecationReason": null,
69919
+ "description": null,
69920
+ "isDeprecated": false,
69921
+ "name": "success"
69922
+ },
69923
+ {
69924
+ "deprecationReason": null,
69925
+ "description": null,
69926
+ "isDeprecated": false,
69927
+ "name": "unknown"
69928
+ },
69929
+ {
69930
+ "deprecationReason": null,
69931
+ "description": null,
69932
+ "isDeprecated": false,
69933
+ "name": "restarting"
69934
+ },
69935
+ {
69936
+ "deprecationReason": null,
69937
+ "description": null,
69938
+ "isDeprecated": false,
69939
+ "name": "up_for_retry"
69940
+ },
69941
+ {
69942
+ "deprecationReason": null,
69943
+ "description": null,
69944
+ "isDeprecated": false,
69945
+ "name": "up_for_reschedule"
69946
+ },
69947
+ {
69948
+ "deprecationReason": null,
69949
+ "description": null,
69950
+ "isDeprecated": false,
69951
+ "name": "upstream_failed"
69952
+ },
69953
+ {
69954
+ "deprecationReason": null,
69955
+ "description": null,
69956
+ "isDeprecated": false,
69957
+ "name": "skipped"
69958
+ },
69959
+ {
69960
+ "deprecationReason": null,
69961
+ "description": null,
69962
+ "isDeprecated": false,
69963
+ "name": "removed"
69964
+ },
69965
+ {
69966
+ "deprecationReason": null,
69967
+ "description": null,
69968
+ "isDeprecated": false,
69969
+ "name": "scheduled"
69970
+ },
69971
+ {
69972
+ "deprecationReason": null,
69973
+ "description": null,
69974
+ "isDeprecated": false,
69975
+ "name": "deferred"
69976
+ }
69977
+ ],
69978
+ "fields": null,
69979
+ "inputFields": null,
69980
+ "interfaces": null,
69981
+ "kind": "ENUM",
69982
+ "name": "AirflowRunState",
69983
+ "possibleTypes": null
69984
+ },
69769
69985
  {
69770
69986
  "description": null,
69771
69987
  "enumValues": null,
@@ -148821,95 +149037,6 @@
148821
149037
  "name": "AirflowDagRunInfo",
148822
149038
  "possibleTypes": null
148823
149039
  },
148824
- {
148825
- "description": null,
148826
- "enumValues": [
148827
- {
148828
- "deprecationReason": null,
148829
- "description": null,
148830
- "isDeprecated": false,
148831
- "name": "failed"
148832
- },
148833
- {
148834
- "deprecationReason": null,
148835
- "description": null,
148836
- "isDeprecated": false,
148837
- "name": "queued"
148838
- },
148839
- {
148840
- "deprecationReason": null,
148841
- "description": null,
148842
- "isDeprecated": false,
148843
- "name": "running"
148844
- },
148845
- {
148846
- "deprecationReason": null,
148847
- "description": null,
148848
- "isDeprecated": false,
148849
- "name": "success"
148850
- },
148851
- {
148852
- "deprecationReason": null,
148853
- "description": null,
148854
- "isDeprecated": false,
148855
- "name": "unknown"
148856
- },
148857
- {
148858
- "deprecationReason": null,
148859
- "description": null,
148860
- "isDeprecated": false,
148861
- "name": "restarting"
148862
- },
148863
- {
148864
- "deprecationReason": null,
148865
- "description": null,
148866
- "isDeprecated": false,
148867
- "name": "up_for_retry"
148868
- },
148869
- {
148870
- "deprecationReason": null,
148871
- "description": null,
148872
- "isDeprecated": false,
148873
- "name": "up_for_reschedule"
148874
- },
148875
- {
148876
- "deprecationReason": null,
148877
- "description": null,
148878
- "isDeprecated": false,
148879
- "name": "upstream_failed"
148880
- },
148881
- {
148882
- "deprecationReason": null,
148883
- "description": null,
148884
- "isDeprecated": false,
148885
- "name": "skipped"
148886
- },
148887
- {
148888
- "deprecationReason": null,
148889
- "description": null,
148890
- "isDeprecated": false,
148891
- "name": "removed"
148892
- },
148893
- {
148894
- "deprecationReason": null,
148895
- "description": null,
148896
- "isDeprecated": false,
148897
- "name": "scheduled"
148898
- },
148899
- {
148900
- "deprecationReason": null,
148901
- "description": null,
148902
- "isDeprecated": false,
148903
- "name": "deferred"
148904
- }
148905
- ],
148906
- "fields": null,
148907
- "inputFields": null,
148908
- "interfaces": null,
148909
- "kind": "ENUM",
148910
- "name": "AirflowRunState",
148911
- "possibleTypes": null
148912
- },
148913
149040
  {
148914
149041
  "description": "Airflow capabilities information",
148915
149042
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -12929,6 +12929,41 @@ class AirflowTaskEdge(sgqlc.types.Type):
12929
12929
  """A cursor for use in pagination"""
12930
12930
 
12931
12931
 
12932
+ class AirflowTaskRunAttempt(sgqlc.types.Type):
12933
+ """Individual attempt details for an Airflow task run"""
12934
+
12935
+ __schema__ = schema
12936
+ __field_names__ = (
12937
+ "attempt_number",
12938
+ "start_date",
12939
+ "end_date",
12940
+ "state",
12941
+ "success",
12942
+ "duration",
12943
+ "exception_message",
12944
+ )
12945
+ attempt_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="attemptNumber")
12946
+ """Attempt number"""
12947
+
12948
+ start_date = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="startDate")
12949
+ """Attempt start time"""
12950
+
12951
+ end_date = sgqlc.types.Field(DateTime, graphql_name="endDate")
12952
+ """Attempt end time"""
12953
+
12954
+ state = sgqlc.types.Field(sgqlc.types.non_null(AirflowRunState), graphql_name="state")
12955
+ """Attempt state"""
12956
+
12957
+ success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="success")
12958
+ """Whether attempt succeeded"""
12959
+
12960
+ duration = sgqlc.types.Field(Float, graphql_name="duration")
12961
+ """Attempt duration in seconds"""
12962
+
12963
+ exception_message = sgqlc.types.Field(String, graphql_name="exceptionMessage")
12964
+ """Error message if failed"""
12965
+
12966
+
12932
12967
  class AirflowTaskRunConnection(sgqlc.types.relay.Connection):
12933
12968
  __schema__ = schema
12934
12969
  __field_names__ = ("page_info", "edges")
@@ -70238,6 +70273,7 @@ class AirflowTaskRun(sgqlc.types.Type, Node):
70238
70273
  "task_mcon",
70239
70274
  "job_mcon",
70240
70275
  "log_url",
70276
+ "attempts",
70241
70277
  )
70242
70278
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
70243
70279
 
@@ -70306,6 +70342,11 @@ class AirflowTaskRun(sgqlc.types.Type, Node):
70306
70342
  log_url = sgqlc.types.Field(String, graphql_name="logUrl")
70307
70343
  """Log URL for the Task Run"""
70308
70344
 
70345
+ attempts = sgqlc.types.Field(
70346
+ sgqlc.types.list_of(AirflowTaskRunAttempt), graphql_name="attempts"
70347
+ )
70348
+ """List of all retry attempts for this task run"""
70349
+
70309
70350
 
70310
70351
  class AlationIntegration(sgqlc.types.Type, Node):
70311
70352
  __schema__ = schema
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.194
3
+ Version: 0.10.195
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -35,10 +35,10 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
35
35
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
36
36
  pycarlo/lib/README.md,sha256=QGNeUefPzLKGyZqn5aITpcFgkC9WQTNS292BGisRFHk,139
37
37
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- pycarlo/lib/schema.json,sha256=UEjfprp10pXE6593WmYyj2kER6DuIxBIkc84HUTPBVM,6336286
39
- pycarlo/lib/schema.py,sha256=plDIF2K1mq-nUIksRS9WNxXZ1Pz25tIC4somKPrD4F4,2759178
40
- pycarlo-0.10.194.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.194.dist-info/METADATA,sha256=4weWf_U3sSZg5WXxeS1bDNjbjMikBFDSoPSeoc0iv7k,8742
42
- pycarlo-0.10.194.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.194.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.194.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=Vz_BFcP_LpH3l4n39MtNBZGixtMbPwpJNRRwTry918c,6340122
39
+ pycarlo/lib/schema.py,sha256=F9d7kze0WCycD6E3WLhQdcQyKuNr6tc0BeSCEXBb7Bw,2760489
40
+ pycarlo-0.10.195.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.195.dist-info/METADATA,sha256=xscEV3X4VBbafrUAHZbCQt3zErYNY04eTBdUbNiDr-o,8742
42
+ pycarlo-0.10.195.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.195.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.195.dist-info/RECORD,,