cribl-control-plane 0.1.0b1__tar.gz → 0.1.1rc1__tar.gz

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 cribl-control-plane might be problematic. Click here for more details.

Files changed (333) hide show
  1. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/PKG-INFO +47 -13
  2. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/README-PYPI.md +46 -12
  3. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/pyproject.toml +1 -1
  4. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/clientcredentials.py +91 -41
  5. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_version.py +4 -4
  6. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/apierror.py +1 -1
  7. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/criblcontrolplaneerror.py +1 -1
  8. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/error.py +1 -1
  9. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/healthstatus_error.py +1 -1
  10. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/no_response_error.py +1 -1
  11. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/responsevalidationerror.py +1 -1
  12. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/groups_sdk.py +4 -4
  13. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/httpclient.py +0 -1
  14. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/lakedatasets.py +12 -12
  15. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/__init__.py +92 -25
  16. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/configgroup.py +17 -2
  17. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversionundoop.py +3 -3
  18. cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/cribllakedatasetupdate.py +81 -0
  19. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/distributedsummary.py +6 -0
  20. cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/gitinfo.py +34 -0
  21. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/input.py +65 -63
  22. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputappscope.py +4 -0
  23. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputazureblob.py +4 -0
  24. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcollection.py +4 -0
  25. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputconfluentcloud.py +8 -0
  26. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcribl.py +4 -0
  27. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcriblhttp.py +4 -0
  28. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcribllakehttp.py +4 -0
  29. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcriblmetrics.py +4 -0
  30. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcribltcp.py +4 -0
  31. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputcrowdstrike.py +7 -0
  32. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputdatadogagent.py +4 -0
  33. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputdatagen.py +4 -0
  34. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputedgeprometheus.py +12 -0
  35. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputelastic.py +11 -0
  36. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputeventhub.py +6 -0
  37. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputexec.py +4 -0
  38. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputfile.py +6 -0
  39. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputfirehose.py +4 -0
  40. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputgooglepubsub.py +7 -0
  41. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputgrafana.py +8 -0
  42. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputhttp.py +4 -0
  43. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputhttpraw.py +4 -0
  44. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputjournalfiles.py +4 -0
  45. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkafka.py +8 -0
  46. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkinesis.py +15 -0
  47. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkubeevents.py +4 -0
  48. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkubelogs.py +4 -0
  49. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputkubemetrics.py +4 -0
  50. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputloki.py +4 -0
  51. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputmetrics.py +4 -0
  52. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
  53. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputmsk.py +7 -0
  54. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputnetflow.py +4 -0
  55. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputoffice365mgmt.py +11 -0
  56. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
  57. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputoffice365service.py +11 -0
  58. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputopentelemetry.py +8 -0
  59. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputprometheus.py +10 -0
  60. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputprometheusrw.py +4 -0
  61. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputrawudp.py +4 -0
  62. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputs3.py +7 -0
  63. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputs3inventory.py +7 -0
  64. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsecuritylake.py +7 -0
  65. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsnmp.py +11 -0
  66. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsplunk.py +9 -0
  67. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsplunkhec.py +4 -0
  68. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsplunksearch.py +7 -0
  69. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsqs.py +17 -10
  70. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsyslog.py +8 -0
  71. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsystemmetrics.py +32 -0
  72. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputsystemstate.py +4 -0
  73. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputtcp.py +4 -0
  74. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputtcpjson.py +4 -0
  75. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwef.py +6 -0
  76. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwindowsmetrics.py +28 -0
  77. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwineventlogs.py +8 -0
  78. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwiz.py +7 -0
  79. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputwizwebhook.py +4 -0
  80. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/inputzscalerhec.py +4 -0
  81. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/jobinfo.py +4 -1
  82. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeprovidedinfo.py +4 -1
  83. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/output.py +86 -81
  84. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazureblob.py +20 -0
  85. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazuredataexplorer.py +28 -0
  86. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazureeventhub.py +17 -0
  87. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputazurelogs.py +13 -0
  88. cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/outputchronicle.py +444 -0
  89. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputclickhouse.py +17 -0
  90. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcloudwatch.py +13 -0
  91. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputconfluentcloud.py +24 -0
  92. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcriblhttp.py +15 -0
  93. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcribllake.py +21 -0
  94. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcribltcp.py +12 -0
  95. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
  96. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdatabricks.py +28 -176
  97. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdatadog.py +30 -0
  98. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdataset.py +23 -0
  99. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdls3.py +35 -0
  100. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdynatracehttp.py +22 -0
  101. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdynatraceotlp.py +22 -0
  102. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputelastic.py +18 -0
  103. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputelasticcloud.py +13 -0
  104. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputexabeam.py +14 -0
  105. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputfilesystem.py +15 -0
  106. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglechronicle.py +26 -4
  107. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglecloudlogging.py +28 -4
  108. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
  109. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgooglepubsub.py +13 -0
  110. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgrafanacloud.py +50 -0
  111. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputgraphite.py +12 -0
  112. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputhoneycomb.py +13 -0
  113. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputhumiohec.py +15 -0
  114. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputinfluxdb.py +19 -0
  115. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputkafka.py +24 -0
  116. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputkinesis.py +15 -0
  117. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputloki.py +20 -0
  118. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputminio.py +28 -0
  119. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputmsk.py +23 -0
  120. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputnewrelic.py +16 -0
  121. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputnewrelicevents.py +16 -0
  122. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputopentelemetry.py +22 -0
  123. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputprometheus.py +13 -0
  124. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputring.py +2 -0
  125. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputs3.py +35 -0
  126. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsecuritylake.py +29 -0
  127. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsentinel.py +15 -0
  128. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
  129. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputservicenow.py +21 -0
  130. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsignalfx.py +13 -0
  131. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsns.py +13 -0
  132. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsplunk.py +15 -0
  133. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsplunkhec.py +13 -0
  134. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsplunklb.py +15 -0
  135. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsqs.py +23 -10
  136. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputstatsd.py +12 -0
  137. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputstatsdext.py +12 -0
  138. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsumologic.py +15 -0
  139. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsyslog.py +24 -0
  140. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputtcpjson.py +12 -0
  141. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputwavefront.py +13 -0
  142. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputwebhook.py +23 -0
  143. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputxsiam.py +13 -0
  144. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packinfo.py +3 -0
  145. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packinstallinfo.py +3 -0
  146. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejobcollection.py +4 -0
  147. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +9 -5
  148. cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/updatepacksop.py +27 -0
  149. cribl_control_plane-0.1.1rc1/src/cribl_control_plane/models/uploadpackresponse.py +13 -0
  150. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/packs.py +196 -1
  151. cribl_control_plane-0.1.0b1/src/cribl_control_plane/models/gitinfo.py +0 -23
  152. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/py.typed +0 -0
  153. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/__init__.py +0 -0
  154. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/__init__.py +0 -0
  155. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/registration.py +0 -0
  156. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/sdkhooks.py +0 -0
  157. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/_hooks/types.py +0 -0
  158. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/acl.py +0 -0
  159. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/auth_sdk.py +0 -0
  160. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/basesdk.py +0 -0
  161. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/branches.py +0 -0
  162. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/commits.py +0 -0
  163. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/commits_files.py +0 -0
  164. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/configs_versions.py +0 -0
  165. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/destinations.py +0 -0
  166. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/destinations_pq.py +0 -0
  167. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/errors/__init__.py +0 -0
  168. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/groups_configs.py +0 -0
  169. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/health.py +0 -0
  170. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/hectokens.py +0 -0
  171. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/addhectokenrequest.py +0 -0
  172. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/authtoken.py +0 -0
  173. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/branchinfo.py +0 -0
  174. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cacheconnection.py +0 -0
  175. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cacheconnectionbackfillstatus.py +0 -0
  176. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cloudprovider.py +0 -0
  177. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/commit.py +0 -0
  178. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/configgroupcloud.py +0 -0
  179. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/configgrouplookups.py +0 -0
  180. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createconfiggroupbyproductop.py +0 -0
  181. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createcribllakedatasetbylakeidop.py +0 -0
  182. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createinputhectokenbyidop.py +0 -0
  183. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createinputop.py +0 -0
  184. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createoutputop.py +0 -0
  185. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createoutputtestbyidop.py +0 -0
  186. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createpacksop.py +0 -0
  187. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createpipelineop.py +0 -0
  188. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createroutesappendbyidop.py +0 -0
  189. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversioncommitop.py +0 -0
  190. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversionpushop.py +0 -0
  191. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/createversionrevertop.py +0 -0
  192. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/criblevent.py +0 -0
  193. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/cribllakedataset.py +0 -0
  194. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/currentbranchresult.py +0 -0
  195. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/datasetmetadata.py +0 -0
  196. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/datasetmetadataruninfo.py +0 -0
  197. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -0
  198. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +0 -0
  199. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteinputbyidop.py +0 -0
  200. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteoutputbyidop.py +0 -0
  201. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deleteoutputpqbyidop.py +0 -0
  202. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deletepacksbyidop.py +0 -0
  203. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deletepipelinebyidop.py +0 -0
  204. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deployrequest.py +0 -0
  205. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/deployrequestlookups.py +0 -0
  206. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/difffiles.py +0 -0
  207. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/error.py +0 -0
  208. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -0
  209. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -0
  210. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -0
  211. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -0
  212. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +0 -0
  213. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getcribllakedatasetbylakeidop.py +0 -0
  214. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gethealthinfoop.py +0 -0
  215. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getinputbyidop.py +0 -0
  216. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getmasterworkerentryop.py +0 -0
  217. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getoutputbyidop.py +0 -0
  218. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getoutputpqbyidop.py +0 -0
  219. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getoutputsamplesbyidop.py +0 -0
  220. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getpacksbyidop.py +0 -0
  221. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getpacksop.py +0 -0
  222. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getpipelinebyidop.py +0 -0
  223. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getroutesbyidop.py +0 -0
  224. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getsummaryop.py +0 -0
  225. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionbranchop.py +0 -0
  226. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversioncountop.py +0 -0
  227. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversiondiffop.py +0 -0
  228. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionfilesop.py +0 -0
  229. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversioninfoop.py +0 -0
  230. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionop.py +0 -0
  231. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionshowop.py +0 -0
  232. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/getversionstatusop.py +0 -0
  233. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitcommitparams.py +0 -0
  234. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitcommitsummary.py +0 -0
  235. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitcountresult.py +0 -0
  236. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitdiffresult.py +0 -0
  237. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitfile.py +0 -0
  238. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitfilesresponse.py +0 -0
  239. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitlogresult.py +0 -0
  240. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitrevertparams.py +0 -0
  241. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitrevertresult.py +0 -0
  242. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitshowresult.py +0 -0
  243. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/gitstatusresult.py +0 -0
  244. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/hbcriblinfo.py +0 -0
  245. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/hbleaderinfo.py +0 -0
  246. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/healthstatus.py +0 -0
  247. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/heartbeatmetadata.py +0 -0
  248. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/jobstatus.py +0 -0
  249. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/lakedatasetsearchconfig.py +0 -0
  250. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/lakehouseconnectiontype.py +0 -0
  251. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listconfiggroupbyproductop.py +0 -0
  252. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listinputop.py +0 -0
  253. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listmasterworkerentryop.py +0 -0
  254. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listoutputop.py +0 -0
  255. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listpipelineop.py +0 -0
  256. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/listroutesop.py +0 -0
  257. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/logininfo.py +0 -0
  258. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/lookupversions.py +0 -0
  259. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/masterworkerentry.py +0 -0
  260. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeactiveupgradestatus.py +0 -0
  261. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodefailedupgradestatus.py +0 -0
  262. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeskippedupgradestatus.py +0 -0
  263. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeupgradestate.py +0 -0
  264. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/nodeupgradestatus.py +0 -0
  265. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdefault.py +0 -0
  266. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdevnull.py +0 -0
  267. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputdiskspool.py +0 -0
  268. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputnetflow.py +0 -0
  269. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputrouter.py +0 -0
  270. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsamplesresponse.py +0 -0
  271. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputsnmp.py +0 -0
  272. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputtestrequest.py +0 -0
  273. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/outputtestresponse.py +0 -0
  274. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packrequestbody_union.py +0 -0
  275. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/packupgraderequest.py +0 -0
  276. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/pipeline.py +0 -0
  277. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/pipelinefunctionconf.py +0 -0
  278. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/productscore.py +0 -0
  279. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/rbacresource.py +0 -0
  280. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/resourcepolicy.py +0 -0
  281. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/routeconf.py +0 -0
  282. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/routes.py +0 -0
  283. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/routesroute.py +0 -0
  284. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejob.py +0 -0
  285. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejobexecutor.py +0 -0
  286. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/runnablejobscheduledsearch.py +0 -0
  287. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/schemeclientoauth.py +0 -0
  288. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/security.py +0 -0
  289. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/teamaccesscontrollist.py +0 -0
  290. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -0
  291. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -0
  292. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatehectokenrequest.py +0 -0
  293. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateinputbyidop.py +0 -0
  294. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +0 -0
  295. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateoutputbyidop.py +0 -0
  296. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatepacksbyidop.py +0 -0
  297. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updatepipelinebyidop.py +0 -0
  298. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/updateroutesbyidop.py +0 -0
  299. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/useraccesscontrollist.py +0 -0
  300. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/models/workertypes.py +0 -0
  301. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/nodes.py +0 -0
  302. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/pipelines.py +0 -0
  303. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/py.typed +0 -0
  304. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/routes_sdk.py +0 -0
  305. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/samples.py +0 -0
  306. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/sdk.py +0 -0
  307. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/sdkconfiguration.py +0 -0
  308. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/sources.py +0 -0
  309. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/statuses.py +0 -0
  310. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/summaries.py +0 -0
  311. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/teams.py +0 -0
  312. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/tokens.py +0 -0
  313. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/types/__init__.py +0 -0
  314. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/types/basemodel.py +0 -0
  315. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/__init__.py +0 -0
  316. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/annotations.py +0 -0
  317. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/datetimes.py +0 -0
  318. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/enums.py +0 -0
  319. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/eventstreaming.py +0 -0
  320. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/forms.py +0 -0
  321. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/headers.py +0 -0
  322. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/logger.py +0 -0
  323. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/metadata.py +0 -0
  324. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/queryparams.py +0 -0
  325. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/requestbodies.py +0 -0
  326. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/retries.py +0 -0
  327. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/security.py +0 -0
  328. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/serializers.py +0 -0
  329. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/unmarshal_json_response.py +0 -0
  330. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/url.py +0 -0
  331. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/utils/values.py +0 -0
  332. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/versions.py +0 -0
  333. {cribl_control_plane-0.1.0b1 → cribl_control_plane-0.1.1rc1}/src/cribl_control_plane/versions_configs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cribl-control-plane
3
- Version: 0.1.0b1
3
+ Version: 0.1.1rc1
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -17,11 +17,20 @@ Project-URL: Repository, https://github.com/criblio/cribl_control_plane_sdk_pyth
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # cribl_control_plane_sdk_python
20
- <!-- Start Summary [summary] -->
21
- ## Summary
22
20
 
23
- Cribl API Reference: This API Reference lists available REST endpoints, along with their supported operations for accessing, creating, updating, or deleting resources. See our complementary product documentation at [docs.cribl.io](http://docs.cribl.io).
24
- <!-- End Summary [summary] -->
21
+ The Cribl Python SDK for the control plane provides operational control over Cribl resources and helps streamline the process of integrating with Cribl.
22
+
23
+ In addition to the usage examples in this repository, the Cribl documentation includes [code examples for common use cases](https://docs.cribl.io/cribl-as-code/code-examples).
24
+
25
+ Complementary API reference documentation is available at https://docs.cribl.io/cribl-as-code/api-reference. Product documentation is available at https://docs.cribl.io.
26
+
27
+ > [!IMPORTANT]
28
+ > **Preview Feature**
29
+ > The Cribl SDKs are Preview features that are still being developed. We do not recommend using them in a production environment, because the features might not be fully tested or optimized for performance, and related documentation could be incomplete.
30
+ >
31
+ > Please continue to submit feedback through normal Cribl support channels, but assistance might be limited while the features remain in Preview.
32
+
33
+ <!-- No Summary [summary] -->
25
34
 
26
35
  <!-- Start Table of Contents [toc] -->
27
36
  ## Table of Contents
@@ -32,6 +41,7 @@ Cribl API Reference: This API Reference lists available REST endpoints, along wi
32
41
  * [SDK Example Usage](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#sdk-example-usage)
33
42
  * [Authentication](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#authentication)
34
43
  * [Available Resources and Operations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#available-resources-and-operations)
44
+ * [File uploads](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#file-uploads)
35
45
  * [Retries](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#retries)
36
46
  * [Error Handling](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#error-handling)
37
47
  * [Custom HTTP Client](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#custom-http-client)
@@ -306,14 +316,10 @@ with CriblControlPlane(
306
316
  <details open>
307
317
  <summary>Available methods</summary>
308
318
 
309
- ### [auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md)
310
-
311
-
312
319
  #### [auth.tokens](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md)
313
320
 
314
321
  * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md#get) - Log in and fetch an authentication token
315
322
 
316
-
317
323
  ### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
318
324
 
319
325
  * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#list) - List all Destinations
@@ -378,6 +384,7 @@ with CriblControlPlane(
378
384
 
379
385
  * [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Create or install a Pack
380
386
  * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#list) - List all Packs
387
+ * [upload](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#upload) - Upload a Pack file
381
388
  * [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete) - Uninstall a Pack
382
389
  * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#get) - Get a Pack
383
390
  * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#update) - Upgrade a Pack
@@ -410,9 +417,6 @@ with CriblControlPlane(
410
417
  * [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#create) - Add an HEC token and optional metadata to a Splunk HEC Source
411
418
  * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#update) - Update metadata for an HEC token for a Splunk HEC Source
412
419
 
413
- ### [versions](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versions/README.md)
414
-
415
-
416
420
  #### [versions.branches](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md)
417
421
 
418
422
  * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md#list) - List all branches in the Git repository used for Cribl configuration
@@ -444,6 +448,36 @@ with CriblControlPlane(
444
448
  </details>
445
449
  <!-- End Available Resources and Operations [operations] -->
446
450
 
451
+ <!-- Start File uploads [file-upload] -->
452
+ ## File uploads
453
+
454
+ Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
455
+
456
+ > [!TIP]
457
+ >
458
+ > For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
459
+ >
460
+
461
+ ```python
462
+ from cribl_control_plane import CriblControlPlane, models
463
+ import os
464
+
465
+
466
+ with CriblControlPlane(
467
+ server_url="https://api.example.com",
468
+ security=models.Security(
469
+ bearer_auth=os.getenv("CRIBLCONTROLPLANE_BEARER_AUTH", ""),
470
+ ),
471
+ ) as ccp_client:
472
+
473
+ res = ccp_client.packs.upload(filename="example.file", request_body=open("example.file", "rb"))
474
+
475
+ # Handle response
476
+ print(res)
477
+
478
+ ```
479
+ <!-- End File uploads [file-upload] -->
480
+
447
481
  <!-- Start Retries [retries] -->
448
482
  ## Retries
449
483
 
@@ -657,7 +691,7 @@ with CriblControlPlane(
657
691
 
658
692
 
659
693
  **Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
660
- * [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 62 methods.*
694
+ * [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 63 methods.*
661
695
  * [`ResponseValidationError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
662
696
 
663
697
  </details>
@@ -1,9 +1,18 @@
1
1
  # cribl_control_plane_sdk_python
2
- <!-- Start Summary [summary] -->
3
- ## Summary
4
2
 
5
- Cribl API Reference: This API Reference lists available REST endpoints, along with their supported operations for accessing, creating, updating, or deleting resources. See our complementary product documentation at [docs.cribl.io](http://docs.cribl.io).
6
- <!-- End Summary [summary] -->
3
+ The Cribl Python SDK for the control plane provides operational control over Cribl resources and helps streamline the process of integrating with Cribl.
4
+
5
+ In addition to the usage examples in this repository, the Cribl documentation includes [code examples for common use cases](https://docs.cribl.io/cribl-as-code/code-examples).
6
+
7
+ Complementary API reference documentation is available at https://docs.cribl.io/cribl-as-code/api-reference. Product documentation is available at https://docs.cribl.io.
8
+
9
+ > [!IMPORTANT]
10
+ > **Preview Feature**
11
+ > The Cribl SDKs are Preview features that are still being developed. We do not recommend using them in a production environment, because the features might not be fully tested or optimized for performance, and related documentation could be incomplete.
12
+ >
13
+ > Please continue to submit feedback through normal Cribl support channels, but assistance might be limited while the features remain in Preview.
14
+
15
+ <!-- No Summary [summary] -->
7
16
 
8
17
  <!-- Start Table of Contents [toc] -->
9
18
  ## Table of Contents
@@ -14,6 +23,7 @@ Cribl API Reference: This API Reference lists available REST endpoints, along wi
14
23
  * [SDK Example Usage](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#sdk-example-usage)
15
24
  * [Authentication](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#authentication)
16
25
  * [Available Resources and Operations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#available-resources-and-operations)
26
+ * [File uploads](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#file-uploads)
17
27
  * [Retries](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#retries)
18
28
  * [Error Handling](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#error-handling)
19
29
  * [Custom HTTP Client](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/#custom-http-client)
@@ -288,14 +298,10 @@ with CriblControlPlane(
288
298
  <details open>
289
299
  <summary>Available methods</summary>
290
300
 
291
- ### [auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md)
292
-
293
-
294
301
  #### [auth.tokens](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md)
295
302
 
296
303
  * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/tokens/README.md#get) - Log in and fetch an authentication token
297
304
 
298
-
299
305
  ### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
300
306
 
301
307
  * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#list) - List all Destinations
@@ -360,6 +366,7 @@ with CriblControlPlane(
360
366
 
361
367
  * [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Create or install a Pack
362
368
  * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#list) - List all Packs
369
+ * [upload](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#upload) - Upload a Pack file
363
370
  * [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete) - Uninstall a Pack
364
371
  * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#get) - Get a Pack
365
372
  * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#update) - Upgrade a Pack
@@ -392,9 +399,6 @@ with CriblControlPlane(
392
399
  * [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#create) - Add an HEC token and optional metadata to a Splunk HEC Source
393
400
  * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#update) - Update metadata for an HEC token for a Splunk HEC Source
394
401
 
395
- ### [versions](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versions/README.md)
396
-
397
-
398
402
  #### [versions.branches](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md)
399
403
 
400
404
  * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/branches/README.md#list) - List all branches in the Git repository used for Cribl configuration
@@ -426,6 +430,36 @@ with CriblControlPlane(
426
430
  </details>
427
431
  <!-- End Available Resources and Operations [operations] -->
428
432
 
433
+ <!-- Start File uploads [file-upload] -->
434
+ ## File uploads
435
+
436
+ Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
437
+
438
+ > [!TIP]
439
+ >
440
+ > For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
441
+ >
442
+
443
+ ```python
444
+ from cribl_control_plane import CriblControlPlane, models
445
+ import os
446
+
447
+
448
+ with CriblControlPlane(
449
+ server_url="https://api.example.com",
450
+ security=models.Security(
451
+ bearer_auth=os.getenv("CRIBLCONTROLPLANE_BEARER_AUTH", ""),
452
+ ),
453
+ ) as ccp_client:
454
+
455
+ res = ccp_client.packs.upload(filename="example.file", request_body=open("example.file", "rb"))
456
+
457
+ # Handle response
458
+ print(res)
459
+
460
+ ```
461
+ <!-- End File uploads [file-upload] -->
462
+
429
463
  <!-- Start Retries [retries] -->
430
464
  ## Retries
431
465
 
@@ -639,7 +673,7 @@ with CriblControlPlane(
639
673
 
640
674
 
641
675
  **Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
642
- * [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 62 methods.*
676
+ * [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 63 methods.*
643
677
  * [`ResponseValidationError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
644
678
 
645
679
  </details>
@@ -1,7 +1,7 @@
1
1
 
2
2
  [project]
3
3
  name = "cribl-control-plane"
4
- version = "0.1.0b1"
4
+ version = "0.1.1rc1"
5
5
  description = "Python Client SDK Generated by Speakeasy."
6
6
  authors = [{ name = "Speakeasy" },]
7
7
  readme = "README-PYPI.md"
@@ -21,6 +21,7 @@ class Credentials:
21
21
  client_id: str
22
22
  client_secret: str
23
23
  token_url: str
24
+ scopes: Optional[List[str]]
24
25
  additional_properties: Dict[str, str]
25
26
 
26
27
  def __init__(
@@ -28,25 +29,27 @@ class Credentials:
28
29
  client_id: str,
29
30
  client_secret: str,
30
31
  token_url: str,
32
+ scopes: Optional[List[str]],
31
33
  additional_properties: Optional[Dict[str, str]] = None,
32
34
  ):
33
35
  self.client_id = client_id
34
36
  self.client_secret = client_secret
35
37
  self.token_url = token_url
38
+ self.scopes = scopes
36
39
  self.additional_properties = additional_properties or {}
37
40
 
38
41
 
39
42
  class Session:
40
43
  credentials: Credentials
41
44
  token: str
42
- scopes: Optional[List[str]] = None
45
+ scopes: List[str]
43
46
  expires_at: Optional[int] = None
44
47
 
45
48
  def __init__(
46
49
  self,
47
50
  credentials: Credentials,
48
51
  token: str,
49
- scopes: Optional[List[str]] = None,
52
+ scopes: List[str],
50
53
  expires_at: Optional[int] = None,
51
54
  ):
52
55
  self.credentials = credentials
@@ -57,7 +60,7 @@ class Session:
57
60
 
58
61
  class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
59
62
  client: HttpClient
60
- sessions: Dict[str, Session] = {}
63
+ sessions: Dict[str, Dict[str, Session]] = {}
61
64
 
62
65
  def sdk_init(self, config: SDKConfiguration) -> SDKConfiguration:
63
66
  if config.client is None:
@@ -69,8 +72,7 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
69
72
  def before_request(
70
73
  self, hook_ctx: BeforeRequestContext, request: httpx.Request
71
74
  ) -> httpx.Request:
72
- if hook_ctx.oauth2_scopes is None:
73
- # OAuth2 not in use
75
+ if self.is_hook_disabled(hook_ctx):
74
76
  return request
75
77
 
76
78
  credentials = self.get_credentials(hook_ctx)
@@ -81,22 +83,24 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
81
83
  credentials.client_id, credentials.client_secret
82
84
  )
83
85
 
84
- if (
85
- session_key not in self.sessions
86
- or not self.has_required_scopes(
87
- self.sessions[session_key].scopes, hook_ctx.oauth2_scopes
88
- )
89
- or self.has_token_expired(self.sessions[session_key].expires_at)
90
- ):
91
- sess = self.do_token_request(
86
+ scopes = self.get_required_scopes(credentials, hook_ctx)
87
+ session = self.get_existing_session(session_key, scopes)
88
+
89
+ if session is None:
90
+ # Create new session
91
+ session = self.do_token_request(
92
92
  hook_ctx,
93
93
  credentials,
94
- self.get_scopes(hook_ctx.oauth2_scopes, self.sessions.get(session_key)),
94
+ scopes,
95
95
  )
96
96
 
97
- self.sessions[session_key] = sess
97
+ if session_key not in self.sessions:
98
+ self.sessions[session_key] = {}
99
+
100
+ scope_key = self.get_scope_key(scopes)
101
+ self.sessions[session_key][scope_key] = session
98
102
 
99
- request.headers["Authorization"] = f"Bearer {self.sessions[session_key].token}"
103
+ request.headers["Authorization"] = f"Bearer {session.token}"
100
104
 
101
105
  return request
102
106
 
@@ -106,8 +110,7 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
106
110
  response: Optional[httpx.Response],
107
111
  error: Optional[Exception],
108
112
  ) -> Union[Tuple[Optional[httpx.Response], Optional[Exception]], Exception]:
109
- if hook_ctx.oauth2_scopes is None:
110
- # OAuth2 not in use
113
+ if self.is_hook_disabled(hook_ctx):
111
114
  return (response, error)
112
115
 
113
116
  # We don't want to refresh the token if the error is not related to the token
@@ -122,12 +125,15 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
122
125
  session_key = self.get_session_key(
123
126
  credentials.client_id, credentials.client_secret
124
127
  )
125
-
126
- if session_key in self.sessions:
127
- del self.sessions[session_key]
128
+ scopes = self.get_required_scopes(credentials, hook_ctx)
129
+ scope_key = self.get_scope_key(scopes)
130
+ self.remove_session(session_key, scope_key)
128
131
 
129
132
  return (response, error)
130
133
 
134
+ def is_hook_disabled(self, hook_ctx: HookContext) -> bool:
135
+ return hook_ctx.oauth2_scopes is None
136
+
131
137
  def get_credentials(self, hook_ctx: HookContext) -> Optional[Credentials]:
132
138
  source = hook_ctx.security_source
133
139
 
@@ -145,21 +151,19 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
145
151
  # Extract additional properties from security object
146
152
  additional_properties = {}
147
153
  for key, value in dict(security.client_oauth).items():
148
- if key not in ["client_id", "client_secret", "token_url"]:
154
+ if key not in ["client_id", "client_secret", "token_url", "scopes"]:
149
155
  additional_properties[key] = value
150
156
 
151
157
  return Credentials(
152
158
  client_id=security.client_oauth.client_id,
153
159
  client_secret=security.client_oauth.client_secret,
154
160
  token_url=security.client_oauth.token_url,
161
+ scopes=None,
155
162
  additional_properties=additional_properties,
156
163
  )
157
164
 
158
165
  def do_token_request(
159
- self,
160
- hook_ctx: HookContext,
161
- credentials: Credentials,
162
- scopes: Optional[List[str]],
166
+ self, hook_ctx: HookContext, credentials: Credentials, scopes: List[str]
163
167
  ) -> Session:
164
168
  payload = {
165
169
  "grant_type": "client_credentials",
@@ -167,7 +171,7 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
167
171
  "client_secret": credentials.client_secret,
168
172
  }
169
173
 
170
- if scopes is not None and len(scopes) > 0:
174
+ if len(scopes) > 0:
171
175
  payload["scope"] = " ".join(scopes)
172
176
 
173
177
  # Add additional properties to payload
@@ -203,24 +207,70 @@ class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook):
203
207
  )
204
208
 
205
209
  def get_session_key(self, client_id: str, client_secret: str) -> str:
210
+ """Generate a consistent session key for the given client ID and secret."""
206
211
  return hashlib.md5(f"{client_id}:{client_secret}".encode()).hexdigest()
207
212
 
213
+ def get_required_scopes(
214
+ self, credentials: Credentials, hook_ctx: HookContext
215
+ ) -> List[str]:
216
+ """Return the list of scopes that need to be requested."""
217
+ if credentials.scopes is not None:
218
+ return credentials.scopes
219
+ return hook_ctx.oauth2_scopes or []
220
+
221
+ def get_scope_key(self, scopes: List[str]) -> str:
222
+ """Generate a consistent scope key for the given scopes."""
223
+ if not scopes:
224
+ return ""
225
+
226
+ sorted_scopes = sorted(scopes)
227
+ return "&".join(sorted_scopes)
228
+
229
+ def remove_session(self, client_key: str, scope_key: str) -> None:
230
+ """Remove a session and clean up empty client session maps."""
231
+ if client_key in self.sessions and scope_key in self.sessions[client_key]:
232
+ del self.sessions[client_key][scope_key]
233
+
234
+ # Clean up empty client sessions
235
+ if not self.sessions[client_key]:
236
+ del self.sessions[client_key]
237
+
238
+ def get_existing_session(
239
+ self, client_key: str, required_scopes: List[str]
240
+ ) -> Optional[Session]:
241
+ """Find the best session for the required scopes."""
242
+ if client_key not in self.sessions:
243
+ return None
244
+
245
+ client_sessions = self.sessions[client_key]
246
+ scope_key = self.get_scope_key(required_scopes)
247
+
248
+ if scope_key in client_sessions:
249
+ exact_match = client_sessions[scope_key]
250
+ if self.has_token_expired(exact_match.expires_at):
251
+ self.remove_session(client_key, scope_key)
252
+ else:
253
+ return exact_match
254
+
255
+ # If no exact match was found, look for a superset match
256
+ for key, session in client_sessions.items():
257
+ if self.has_token_expired(session.expires_at):
258
+ self.remove_session(client_key, key)
259
+ elif self.has_required_scopes(session.scopes, required_scopes):
260
+ return session
261
+
262
+ return None
263
+
208
264
  def has_required_scopes(
209
- self, scopes: Optional[List[str]], required_scopes: List[str]
265
+ self, scopes: List[str], required_scopes: List[str]
210
266
  ) -> bool:
211
- if scopes is None:
212
- return False
213
-
267
+ """Check if all required scopes are present in the given scopes."""
214
268
  return all(scope in scopes for scope in required_scopes)
215
269
 
216
- def get_scopes(
217
- self, required_scopes: List[str], sess: Optional[Session]
218
- ) -> List[str]:
219
- scopes = required_scopes.copy()
220
- if sess is not None and sess.scopes is not None:
221
- scopes.extend(sess.scopes)
222
- scopes = list(set(scopes))
223
- return scopes
224
-
225
270
  def has_token_expired(self, expires_at: Optional[int]) -> bool:
226
- return expires_at is None or time.time() + 60 >= expires_at
271
+ """
272
+ Check if the token has expired.
273
+ If no expires_in field was returned by the authorization server, the token is considered to never expire.
274
+ A 60-second buffer is applied to refresh tokens before they actually expire.
275
+ """
276
+ return expires_at is not None and time.time() + 60 >= expires_at
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "cribl-control-plane"
6
- __version__: str = "0.1.0b1"
7
- __openapi_doc_version__: str = "4.15.0-alpha.1758872649120-b192666f"
8
- __gen_version__: str = "2.716.16"
9
- __user_agent__: str = "speakeasy-sdk/python 0.1.0b1 2.716.16 4.15.0-alpha.1758872649120-b192666f cribl-control-plane"
6
+ __version__: str = "0.1.1rc1"
7
+ __openapi_doc_version__: str = "4.15.0-alpha.1760439369062-366c2353"
8
+ __gen_version__: str = "2.723.11"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.1.1rc1 2.723.11 4.15.0-alpha.1760439369062-366c2353 cribl-control-plane"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -9,7 +9,7 @@ from cribl_control_plane.errors import CriblControlPlaneError
9
9
  MAX_MESSAGE_LEN = 10_000
10
10
 
11
11
 
12
- @dataclass(frozen=True)
12
+ @dataclass(unsafe_hash=True)
13
13
  class APIError(CriblControlPlaneError):
14
14
  """The fallback error class if no more specific error class is matched."""
15
15
 
@@ -5,7 +5,7 @@ from typing import Optional
5
5
  from dataclasses import dataclass, field
6
6
 
7
7
 
8
- @dataclass(frozen=True)
8
+ @dataclass(unsafe_hash=True)
9
9
  class CriblControlPlaneError(Exception):
10
10
  """The base class for all HTTP error responses."""
11
11
 
@@ -13,7 +13,7 @@ class ErrorData(BaseModel):
13
13
  r"""Error message"""
14
14
 
15
15
 
16
- @dataclass(frozen=True)
16
+ @dataclass(unsafe_hash=True)
17
17
  class Error(CriblControlPlaneError):
18
18
  data: ErrorData = field(hash=False)
19
19
 
@@ -25,7 +25,7 @@ class HealthStatusErrorData(BaseModel):
25
25
  ] = None
26
26
 
27
27
 
28
- @dataclass(frozen=True)
28
+ @dataclass(unsafe_hash=True)
29
29
  class HealthStatusError(CriblControlPlaneError):
30
30
  data: HealthStatusErrorData = field(hash=False)
31
31
 
@@ -3,7 +3,7 @@
3
3
  from dataclasses import dataclass
4
4
 
5
5
 
6
- @dataclass(frozen=True)
6
+ @dataclass(unsafe_hash=True)
7
7
  class NoResponseError(Exception):
8
8
  """Error raised when no HTTP response is received from the server."""
9
9
 
@@ -7,7 +7,7 @@ from dataclasses import dataclass
7
7
  from cribl_control_plane.errors import CriblControlPlaneError
8
8
 
9
9
 
10
- @dataclass(frozen=True)
10
+ @dataclass(unsafe_hash=True)
11
11
  class ResponseValidationError(CriblControlPlaneError):
12
12
  """Error raised when there is a type mismatch between the response data and the expected Pydantic model."""
13
13
 
@@ -224,7 +224,7 @@ class GroupsSDK(BaseSDK):
224
224
  config_version: Optional[str] = None,
225
225
  deploying_worker_count: Optional[float] = None,
226
226
  description: Optional[str] = None,
227
- estimated_ingest_rate: Optional[float] = None,
227
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
228
228
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
229
229
  incompatible_worker_count: Optional[float] = None,
230
230
  inherits: Optional[str] = None,
@@ -395,7 +395,7 @@ class GroupsSDK(BaseSDK):
395
395
  config_version: Optional[str] = None,
396
396
  deploying_worker_count: Optional[float] = None,
397
397
  description: Optional[str] = None,
398
- estimated_ingest_rate: Optional[float] = None,
398
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
399
399
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
400
400
  incompatible_worker_count: Optional[float] = None,
401
401
  inherits: Optional[str] = None,
@@ -757,7 +757,7 @@ class GroupsSDK(BaseSDK):
757
757
  config_version: Optional[str] = None,
758
758
  deploying_worker_count: Optional[float] = None,
759
759
  description: Optional[str] = None,
760
- estimated_ingest_rate: Optional[float] = None,
760
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
761
761
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
762
762
  incompatible_worker_count: Optional[float] = None,
763
763
  inherits: Optional[str] = None,
@@ -931,7 +931,7 @@ class GroupsSDK(BaseSDK):
931
931
  config_version: Optional[str] = None,
932
932
  deploying_worker_count: Optional[float] = None,
933
933
  description: Optional[str] = None,
934
- estimated_ingest_rate: Optional[float] = None,
934
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
935
935
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
936
936
  incompatible_worker_count: Optional[float] = None,
937
937
  inherits: Optional[str] = None,
@@ -107,7 +107,6 @@ def close_clients(
107
107
  # to them from the owning SDK instance and they can be reaped.
108
108
  owner.client = None
109
109
  owner.async_client = None
110
-
111
110
  if sync_client is not None and not sync_client_supplied:
112
111
  try:
113
112
  sync_client.close()