temporal-flowrensic-python-sdk 0.6.63__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.
Files changed (54) hide show
  1. temporal_flowrensic/__init__.py +2 -0
  2. temporal_flowrensic/_calls.py +185 -0
  3. temporal_flowrensic/_ci.py +56 -0
  4. temporal_flowrensic/_deploy.py +65 -0
  5. temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.py +76 -0
  6. temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.pyi +301 -0
  7. temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.py +60 -0
  8. temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.pyi +127 -0
  9. temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.py +42 -0
  10. temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.pyi +71 -0
  11. temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.py +49 -0
  12. temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.pyi +90 -0
  13. temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.py +52 -0
  14. temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.pyi +107 -0
  15. temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.py +51 -0
  16. temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.pyi +92 -0
  17. temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.py +107 -0
  18. temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.pyi +344 -0
  19. temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.py +76 -0
  20. temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.pyi +371 -0
  21. temporal_flowrensic/_gen/flowrensic/v1/job_pb2.py +46 -0
  22. temporal_flowrensic/_gen/flowrensic/v1/job_pb2.pyi +51 -0
  23. temporal_flowrensic/_gen/flowrensic/v1/load_pb2.py +51 -0
  24. temporal_flowrensic/_gen/flowrensic/v1/load_pb2.pyi +118 -0
  25. temporal_flowrensic/_gen/flowrensic/v1/page_pb2.py +38 -0
  26. temporal_flowrensic/_gen/flowrensic/v1/page_pb2.pyi +23 -0
  27. temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.py +60 -0
  28. temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.pyi +157 -0
  29. temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.py +84 -0
  30. temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.pyi +309 -0
  31. temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.py +48 -0
  32. temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.pyi +97 -0
  33. temporal_flowrensic/_gen/flowrensic/v1/services_connect.py +3621 -0
  34. temporal_flowrensic/_gen/flowrensic/v1/services_pb2.py +60 -0
  35. temporal_flowrensic/_gen/flowrensic/v1/services_pb2.pyi +20 -0
  36. temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.py +43 -0
  37. temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.pyi +50 -0
  38. temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.py +47 -0
  39. temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.pyi +102 -0
  40. temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.py +55 -0
  41. temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.pyi +197 -0
  42. temporal_flowrensic/_names.py +42 -0
  43. temporal_flowrensic/_queries.py +61 -0
  44. temporal_flowrensic/_replay.py +378 -0
  45. temporal_flowrensic/_sink.py +574 -0
  46. temporal_flowrensic/_telemetry.py +559 -0
  47. temporal_flowrensic/activity.py +136 -0
  48. temporal_flowrensic/client.py +166 -0
  49. temporal_flowrensic/py.typed +0 -0
  50. temporal_flowrensic/workflow.py +103 -0
  51. temporal_flowrensic_python_sdk-0.6.63.dist-info/METADATA +74 -0
  52. temporal_flowrensic_python_sdk-0.6.63.dist-info/RECORD +54 -0
  53. temporal_flowrensic_python_sdk-0.6.63.dist-info/WHEEL +4 -0
  54. temporal_flowrensic_python_sdk-0.6.63.dist-info/licenses/LICENSE +202 -0
@@ -0,0 +1,166 @@
1
+ """Connects a Temporal Python worker to the Flowrensic server, beside
2
+ temporalio.client."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import os
7
+ import socket
8
+ from dataclasses import dataclass
9
+
10
+ from temporal_flowrensic._gen.flowrensic.v1.ephemeral_run_pb2 import EphemeralRunHandshakeRequest
11
+ from temporal_flowrensic._gen.flowrensic.v1.services_connect import IngestServiceClient
12
+ from temporal_flowrensic import _sink
13
+ from temporal_flowrensic._sink import (
14
+ AttemptSink,
15
+ RecordSink,
16
+ SinkCounts,
17
+ approx_size,
18
+ create_attempt_sink,
19
+ )
20
+
21
+ from temporal_flowrensic._calls import ClientInterceptor
22
+ from temporal_flowrensic._ci import CIError
23
+ from temporal_flowrensic._deploy import DeployStageResult, report_deploy_stage
24
+ from temporal_flowrensic._names import interceptor_name
25
+ from temporal_flowrensic._replay import (
26
+ INDEX_NAME,
27
+ LeftOutEntry,
28
+ ReplaySet,
29
+ ReplaySetEntry,
30
+ ReplayVerdict,
31
+ fetch_replay_set,
32
+ list_history_files,
33
+ publish_verdicts,
34
+ read_replay_set,
35
+ )
36
+ from temporal_flowrensic._telemetry import (
37
+ Fail,
38
+ FlowrensicWarning,
39
+ ForwardAnyway,
40
+ GiveUpQuietly,
41
+ KeepTrying,
42
+ NoAnswerStrategy,
43
+ Retry,
44
+ Telemetry,
45
+ start_telemetry,
46
+ )
47
+
48
+ __all__ = [
49
+ "CIError",
50
+ "DEFAULT_TIMEOUT_MS",
51
+ "CURRENT_ENV_HEADER",
52
+ "CURRENT_EPHEMERAL_RUN_HEADER",
53
+ "DeployStageResult",
54
+ "ENV_ACCESS_KEY_HEADER",
55
+ "INDEX_NAME",
56
+ "Answer",
57
+ "AttemptSink",
58
+ "Client",
59
+ "ClientInterceptor",
60
+ "Fail",
61
+ "FlowrensicWarning",
62
+ "ForwardAnyway",
63
+ "GiveUpQuietly",
64
+ "KeepTrying",
65
+ "LeftOutEntry",
66
+ "NoAnswerStrategy",
67
+ "RecordSink",
68
+ "ReplaySet",
69
+ "ReplaySetEntry",
70
+ "ReplayVerdict",
71
+ "Retry",
72
+ "SinkCounts",
73
+ "Telemetry",
74
+ "approx_size",
75
+ "connect",
76
+ "create_attempt_sink",
77
+ "fetch_replay_set",
78
+ "interceptor_name",
79
+ "list_history_files",
80
+ "publish_verdicts",
81
+ "read_replay_set",
82
+ "report_deploy_stage",
83
+ "start_telemetry",
84
+ ]
85
+
86
+ CURRENT_ENV_HEADER = _sink.CURRENT_ENV_HEADER
87
+ """The header every client call carries the env in."""
88
+
89
+ ENV_ACCESS_KEY_HEADER = _sink.ENV_ACCESS_KEY_HEADER
90
+ """The header every client call carries the env's access key in."""
91
+
92
+ CURRENT_EPHEMERAL_RUN_HEADER = _sink.CURRENT_EPHEMERAL_RUN_HEADER
93
+ """The header every client call carries the ephemeral run in."""
94
+
95
+ DEFAULT_TIMEOUT_MS = 5000
96
+ """Milliseconds the hello may take when connect is given no timeout_ms."""
97
+
98
+ @dataclass(frozen=True)
99
+ class Answer:
100
+ """What Flowrensic answered the hello with."""
101
+
102
+ forward: bool
103
+ """Whether the worker is asked to send the engine's metrics."""
104
+ interval_seconds: int
105
+ """How often it would send them."""
106
+ skip_histories: bool
107
+ """Whether Flowrensic pulls the histories itself."""
108
+
109
+
110
+ @dataclass(frozen=True)
111
+ class Client:
112
+ """A worker's connection to the Flowrensic server."""
113
+
114
+ worker_id: str
115
+ """The worker id the hello carried."""
116
+ answer: Answer
117
+ """What Flowrensic answered the hello with."""
118
+
119
+
120
+ def _default_worker_id() -> str:
121
+ return f"{socket.gethostname() or 'unknown'}-{os.getpid()}"
122
+
123
+
124
+ async def connect(
125
+ server_base_url: str,
126
+ *,
127
+ env_access_key: str = "",
128
+ current_env: str = "",
129
+ current_ephemeral_run: str = "",
130
+ worker_id: str = "",
131
+ version: str = "",
132
+ timeout_ms: int = DEFAULT_TIMEOUT_MS,
133
+ ) -> Client:
134
+ """Says hello to the Flowrensic server, so the ephemeral run and the worker
135
+ show up there, and returns the client.
136
+
137
+ server_base_url is the server, such as http://flowrensic:8080. env_access_key is the
138
+ access key of the env. current_env is the env this worker runs in, as the
139
+ Flowrensic env list names it. current_ephemeral_run is which run of that env
140
+ this is. The three go in the headers Flowrensic-Env-Access-Key,
141
+ Flowrensic-Current-Env and Flowrensic-Current-Ephemeral-Run. worker_id names this worker; empty, the host name and the process
142
+ id joined by a dash. version is the version this worker serves. timeout_ms is
143
+ how many milliseconds the hello may take.
144
+
145
+ A refused hello or one with no answer raises connectrpc.errors.ConnectError,
146
+ whose code says why."""
147
+ if not server_base_url:
148
+ raise ValueError("flowrensic: server_base_url is required")
149
+ if not worker_id:
150
+ worker_id = _default_worker_id()
151
+ if timeout_ms <= 0:
152
+ timeout_ms = DEFAULT_TIMEOUT_MS
153
+ async with IngestServiceClient(server_base_url.rstrip("/"), send_compression=None) as ingest:
154
+ res = await ingest.ephemeral_run_handshake(
155
+ EphemeralRunHandshakeRequest(worker_id=worker_id, version=version),
156
+ headers=_sink.client_headers(current_env, env_access_key, current_ephemeral_run),
157
+ timeout_ms=timeout_ms,
158
+ )
159
+ return Client(
160
+ worker_id=worker_id,
161
+ answer=Answer(
162
+ forward=res.forward,
163
+ interval_seconds=res.interval_seconds,
164
+ skip_histories=res.skip_histories,
165
+ ),
166
+ )
File without changes
@@ -0,0 +1,103 @@
1
+ """The Flowrensic parts of a Temporal workflow, beside temporalio.workflow.
2
+
3
+ The workflow interceptor counts the queries the workflows of a worker answer.
4
+ It runs inside the workflow sandbox, so this module imports only temporalio
5
+ and the standard library at its top, and imports the rest when the worker
6
+ makes the interceptor, outside the sandbox."""
7
+
8
+ from __future__ import annotations
9
+
10
+ import time
11
+ from typing import Any, Optional, Type
12
+
13
+ from temporalio import workflow as _workflow
14
+ from temporalio.worker import (
15
+ HandleQueryInput,
16
+ Interceptor as _TemporalInterceptor,
17
+ WorkflowInboundInterceptor,
18
+ WorkflowInterceptorClassInput,
19
+ )
20
+
21
+ __all__ = ["Interceptor"]
22
+
23
+
24
+ class Interceptor(_TemporalInterceptor):
25
+ """Put in Worker(interceptors=[...]). Every query a workflow of the worker
26
+ answers is counted per workflow type, query name and minute, ok when its
27
+ handler returned, and the counts are sent to Flowrensic in batches. It
28
+ only reads: the answer and the error of a query are the handler's own,
29
+ and it adds no command and reads no workflow state, so a workflow runs and
30
+ replays the same. An error inside it is caught and the query goes on.
31
+ Call close before the process ends.
32
+
33
+ Each query is counted under the namespace Temporal gives in the info of
34
+ the workflow that answered it. current_env is the env the worker runs in. current_env, env_access_key and
35
+ current_ephemeral_run go in their headers on every send.
36
+ The buffer options are those of temporal_flowrensic.client.create_attempt_sink."""
37
+
38
+ def __init__(
39
+ self,
40
+ server_base_url: str,
41
+ *,
42
+ current_env: str = "",
43
+ env_access_key: str = "",
44
+ current_ephemeral_run: str = "",
45
+ **buffer_options: Any,
46
+ ) -> None:
47
+ from temporal_flowrensic._queries import QueryTarget
48
+ from temporal_flowrensic._sink import RecordSink
49
+
50
+ if not server_base_url:
51
+ raise ValueError("flowrensic: server_base_url is required")
52
+ self._buffer = RecordSink(QueryTarget(server_base_url, current_env, env_access_key, current_ephemeral_run), **buffer_options)
53
+
54
+ def workflow_interceptor_class(
55
+ self, input: WorkflowInterceptorClassInput
56
+ ) -> Optional[Type[WorkflowInboundInterceptor]]:
57
+ tell = self._tell
58
+
59
+ class _Inbound(_QueryInbound):
60
+ _tell_query = staticmethod(tell)
61
+
62
+ return _Inbound
63
+
64
+ def _tell(self, namespace: str, workflow_type: str, name: str, ok: bool) -> None:
65
+ from temporal_flowrensic._queries import Answered
66
+
67
+ self._buffer.record(Answered(namespace, workflow_type, name, ok, time.time()))
68
+
69
+ async def flush(self) -> None:
70
+ """Sends what waits and waits for it to land."""
71
+ await self._buffer.flush()
72
+
73
+ async def close(self) -> None:
74
+ """Sends what waits and stops."""
75
+ await self._buffer.close()
76
+
77
+ def counts(self) -> Any:
78
+ """What the buffer lost and holds, a temporal_flowrensic.client.SinkCounts."""
79
+ return self._buffer.counts()
80
+
81
+
82
+ class _QueryInbound(WorkflowInboundInterceptor):
83
+ _tell_query: Any = None
84
+
85
+ async def handle_query(self, input: HandleQueryInput) -> Any:
86
+ try:
87
+ result = await super().handle_query(input)
88
+ except BaseException:
89
+ self._tell(input.query, False)
90
+ raise
91
+ self._tell(input.query, True)
92
+ return result
93
+
94
+ def _tell(self, name: str, ok: bool) -> None:
95
+ """Tells the buffer about a query, and never raises."""
96
+ try:
97
+ # A query is never replayed, so every one is told, even when the
98
+ # worker marks its activation as a replay.
99
+ with _workflow.unsafe.sandbox_unrestricted():
100
+ info = _workflow.info()
101
+ type(self)._tell_query(info.namespace, info.workflow_type, name, ok)
102
+ except BaseException: # noqa: BLE001
103
+ return
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.4
2
+ Name: temporal-flowrensic-python-sdk
3
+ Version: 0.6.63
4
+ Summary: Connects a Temporal Python worker to Flowrensic.
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ Requires-Dist: temporalio>=1.18.1
8
+ Requires-Dist: connect-python>=0.9.0
9
+ Requires-Dist: protobuf>=6.31.1,<8
10
+ Requires-Python: >=3.10
11
+ Project-URL: Homepage, https://flowrensic.com
12
+ Description-Content-Type: text/markdown
13
+
14
+ # Flowrensic Python SDK
15
+
16
+ Pre-release. This package is an early preview and not ready for production. Its API can change in any version.
17
+
18
+ Flowrensic is a platform that runs beside Temporal. It watches what your workflows and workers do and tells you what went wrong, before and after a deploy.
19
+
20
+ ## What it does today
21
+
22
+ - Connects a Temporal Python worker to your Flowrensic server, with your env access key, so the worker shows up in Flowrensic. Call temporal_flowrensic.client.connect.
23
+ - Every call to Flowrensic carries your env, its access key and the ephemeral run in the headers Flowrensic-Current-Env, Flowrensic-Env-Access-Key and Flowrensic-Current-Ephemeral-Run. Each part takes them as current_env, env_access_key and current_ephemeral_run. An env of kind ephemeral takes the ephemeral run, such as the CI build number, and without one the run is default. The SDK reads no environment variable: you pass the values in code.
24
+ - Records each activity attempt: its result, error type, attempt number and time, with the timeouts and retry limit it ran under. Register temporal_flowrensic.activity.Interceptor in Worker(interceptors=[...]) and give it a sink from temporal_flowrensic.client.create_attempt_sink. Each attempt carries the namespace Temporal gives the activity, so there is no namespace setting. It never changes what an activity returns or raises.
25
+ - The sink keeps the attempts in the worker's memory and sends them to Flowrensic in batches, in the background. Each send has a time limit. When Flowrensic does not answer, the attempts wait and are sent again later. The buffer has a limit on records and on memory, and past it the oldest are dropped and counted.
26
+
27
+ ```python
28
+ import temporal_flowrensic.activity
29
+ import temporal_flowrensic.client
30
+
31
+ sink = temporal_flowrensic.client.create_attempt_sink(
32
+ "http://flowrensic:8080", current_env="prod", env_access_key=env_access_key, current_ephemeral_run="prod-1",
33
+ worker_name="orders-worker",
34
+ )
35
+ worker = Worker(
36
+ client,
37
+ task_queue="main",
38
+ workflows=[...],
39
+ activities=[...],
40
+ interceptors=[temporal_flowrensic.activity.Interceptor(sink, current_env="prod", current_ephemeral_run="prod-1", version=build_id)],
41
+ )
42
+ ```
43
+
44
+ - Worker telemetry: temporal_flowrensic.client.start_telemetry says hello, then sends regular beats so Flowrensic knows the worker is up, the engine's and the worker's own metrics, and the history of each run the worker saw. At shutdown it hands the ephemeral run over. When Flowrensic does not answer, the worker still starts and keeps trying in the background. Give telemetry.sink to the activity interceptor.
45
+
46
+ ```python
47
+ telemetry = await temporal_flowrensic.client.start_telemetry(
48
+ server_base_url="http://flowrensic:8080",
49
+ current_env="prod",
50
+ env_access_key=env_access_key,
51
+ current_ephemeral_run="prod-1",
52
+ version=build_id,
53
+ namespace="default",
54
+ temporal_client=client,
55
+ )
56
+ interceptor = temporal_flowrensic.activity.Interceptor(telemetry.sink, current_env="prod", current_ephemeral_run="prod-1", version=build_id)
57
+ # ... run the worker ...
58
+ await telemetry.shutdown()
59
+ ```
60
+
61
+ - Client calls: temporal_flowrensic.client.ClientInterceptor in Client.connect(plugins=[...]) sends every query and signal that fails, and whether it ended on its deadline, under the namespace of the client. temporal_flowrensic.workflow.Interceptor in Worker(interceptors=[...]) counts the queries your workflows answer. Neither changes what a call returns or raises, or what a workflow does.
62
+
63
+ - Replay before deploy: in CI, temporal_flowrensic.client.fetch_replay_set writes the histories Flowrensic picks for a workflow type from each env of replay_history_from_envs, such as ["prod", "staging"], asked as your current_env, which must be of kind ephemeral, since a persistent env is refused, you replay them with temporalio's Replayer, and temporal_flowrensic.client.publish_verdicts sends the result back, with the names of the workflow interceptors the replay ran with, as temporal_flowrensic.client.interceptor_name gives them. Give the same interceptors to start_telemetry, so Flowrensic can compare the two lists.
64
+ - Deploy reports from CI: temporal_flowrensic.client.report_deploy_stage sends each stage of a deploy. Every CI call has a time limit and stops with a message that says Flowrensic could not be reached or what it answered. A failed deploy report does not fail the job unless you ask it to.
65
+
66
+ ## Planned
67
+
68
+ - Each new part of the Node SDK, @flowrensic/temporal-flowrensic-node-sdk, comes to the Python SDK too.
69
+
70
+ ## Install
71
+
72
+ ```sh
73
+ pip install temporal-flowrensic-python-sdk
74
+ ```
@@ -0,0 +1,54 @@
1
+ temporal_flowrensic/__init__.py,sha256=2FJfmDTHxYa27HUfEmWJmN1Y39FJPoXldD7BdYOr9Us,166
2
+ temporal_flowrensic/_calls.py,sha256=4xezosXzP02ZGlGGi6pUiI4D6isTNNjQFb8thfERn2k,7375
3
+ temporal_flowrensic/_ci.py,sha256=s3di-7CnhhUQMrtqG4okl_45bJQYi9wTdlhkwbKIl1U,2419
4
+ temporal_flowrensic/_deploy.py,sha256=8hKXwbUX8yDpa8BbZ-fQN0EZAFULrLXDeH_s_1YZ2R0,2666
5
+ temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.py,sha256=YyiDhs6pH5mivkiaHOlS0__jrT6aOEq_KaaJlYAHjXo,11313
6
+ temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.pyi,sha256=qQR9wR0aNsBgSDwhKpqw2b6GLfSUhlwb7M_cmkE-Q2U,16224
7
+ temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.py,sha256=EJiD6VwoUe5ERsB2OL2LCmnvyFoLBmtRQPmN5fTlrag,5268
8
+ temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.pyi,sha256=0zgah363rkAnFWPyzn30TZ-O04ICzRGhq0wbQ41QDXA,5859
9
+ temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.py,sha256=GFr3GftYN1KVWQG0PCgLjHTAy5_HeBJzUQut3Da6X2I,3726
10
+ temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.pyi,sha256=7T-Jwb_7PmpFsVJh2ywohKdPdmKVULoE0FW2CS7ulCw,3973
11
+ temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.py,sha256=ExOcOxN0kOGRq-hIuuQPXHosnH-brUIpqXpDCJrH9_o,3964
12
+ temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.pyi,sha256=tDA9o8_cZ_1SH2fipudIjGu7ALeWvjhiGhdt3_VY7aI,4275
13
+ temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.py,sha256=eu3Ful0jTCi2wJnjIVJSOqOaxbKdhR1n70rD7gOLM6s,5329
14
+ temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.pyi,sha256=rTTKlJ_NpALa2Hm7Zi1--KESu-kcOUI91oYdsL1CALM,5656
15
+ temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.py,sha256=GKdyfz1eRH2rEMXdzq8xZIK3zzuYxPuFDHFuQQ3pNiw,4099
16
+ temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.pyi,sha256=DuOCD8kS61pcFDY8wg1nzvzRjw6yLIgA5I1c6a1SDEU,4523
17
+ temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.py,sha256=9ui6k5xNywO3ehGWgdVqy72tbrAx-0jyWqSKjprVd0g,13968
18
+ temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.pyi,sha256=5rSJtd4fL6McGKlG4TcC6160DuyNqrer5yZc3FJ3cr8,16520
19
+ temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.py,sha256=Qbl-ic0OOVsTRZdHBD7DpZB0rG9IsbsEgods2L0Txho,12805
20
+ temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.pyi,sha256=LhdWNi1UEkqr6upxO2-8dFnwKhSmrdp6POV9HhCYhlk,18948
21
+ temporal_flowrensic/_gen/flowrensic/v1/job_pb2.py,sha256=KFXuREYIVvEE71haZJkyKfWWnakVRA041-5r5unrg3E,2937
22
+ temporal_flowrensic/_gen/flowrensic/v1/job_pb2.pyi,sha256=q3wbPggCUJc6nAKDeNeEBuuPZqklNA3ENMTmMLS7IEk,2292
23
+ temporal_flowrensic/_gen/flowrensic/v1/load_pb2.py,sha256=U-BxX2uuenaMrrn32hbYDUJOWh2eZkfAa-EVnNVUwcw,4754
24
+ temporal_flowrensic/_gen/flowrensic/v1/load_pb2.pyi,sha256=5mOyT_qYtATlu3wBWVQn4wQU3NVy-2UmLKQDNhES2SI,5831
25
+ temporal_flowrensic/_gen/flowrensic/v1/page_pb2.py,sha256=ZKcTj5BrU4U-Wrkjbkh6WMaCrkUIOZt8k_L9POzO10s,1655
26
+ temporal_flowrensic/_gen/flowrensic/v1/page_pb2.pyi,sha256=7Cg_svhATtXRPnTCMgB1xArvB-VDWq8tUYpuHVFfWE4,895
27
+ temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.py,sha256=QQtJxW8UyaPBCS8zu6McVAa10W_XAbEq_C-Cx9cZSQQ,6043
28
+ temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.pyi,sha256=PinF7jxw8BnhHTGqrI_KTKGquy0JKjaWfg7kQkT8OUI,7743
29
+ temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.py,sha256=rKPtXpFUr8wOkuFo6ygNHKYz85d-CfJguU9SkTD-iuY,11420
30
+ temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.pyi,sha256=LkVqv9UY8UFZOlCUlL9uDBRfM2uDSV-AjIeC394mcF8,15694
31
+ temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.py,sha256=9Rkz436ArmiiaCKxxy3jsyJHEzu_oHlBlzgAGMbRz_o,4216
32
+ temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.pyi,sha256=w8ZDRUwli6ynYyh2jl5lVEWxAyNaDaFqxAyIp1VvvLc,5225
33
+ temporal_flowrensic/_gen/flowrensic/v1/services_connect.py,sha256=VlROd4n4ZHpQDwP4csXXOMykQVGHQPDuwSb2TRF1Fy4,183850
34
+ temporal_flowrensic/_gen/flowrensic/v1/services_pb2.py,sha256=ysEN1yl96BfAM82IPsXZPmFkKGQ0TqlOm2RRiYYzVmY,10330
35
+ temporal_flowrensic/_gen/flowrensic/v1/services_pb2.pyi,sha256=51J-6D76vSmeWnTQI65fHZ6TjB5MjpritS9cTDwg7Os,1477
36
+ temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.py,sha256=tmaRinQJwd6XvhdF3S1QKh9Smx1meQw5sXNyVIesvrU,2644
37
+ temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.pyi,sha256=k10HCf4ERcXUuB-h97tI4E6Q2CebkHEc46-EGoGBp9k,2512
38
+ temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.py,sha256=T9Z4oB6j1k3SasotvHm87GJaxMjMnGL7F9XKt0ZSzYc,4184
39
+ temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.pyi,sha256=pxyVL2rCcHkCtIfWtDpnrY8AijoFiVtSiRMqmxvcGbs,4750
40
+ temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.py,sha256=ifPxE3_k7K7Yf9x-p_YFehPQMpCdRIgpSNkK83GInhQ,8227
41
+ temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.pyi,sha256=-0el2mvZfH_Ychgo3LC-gYamj2_yLQIOpRhWPJJ80vM,11832
42
+ temporal_flowrensic/_names.py,sha256=BO38myagRlDNg_A99nLIbqcNptgedyFA5QsvgW3PObY,1861
43
+ temporal_flowrensic/_queries.py,sha256=qr8RObzpOPfsemKO5sVvLpR3V9EPLMlJQ1Nnur3XaEs,2113
44
+ temporal_flowrensic/_replay.py,sha256=y2AUYtQgg8sLeLJ37DiPD_kf826RuXJC06yRB5DI3nw,14723
45
+ temporal_flowrensic/_sink.py,sha256=l4FKK6nELf4pouJGiVTEpogh4dulTTlYwxf0qUdjjgU,21047
46
+ temporal_flowrensic/_telemetry.py,sha256=vPFIRinCV38zFAS66MvXnwqLw5tUhN_NApjE9pwXQ7g,20617
47
+ temporal_flowrensic/activity.py,sha256=k5IQCPkJBdBCkAjdUoyKuSd1P45u75sWIeR2DnwlIug,4957
48
+ temporal_flowrensic/client.py,sha256=mIWi9UwVzRZZndtCfaDP-HZuXTz3TieEj_5Cr4-zK84,4950
49
+ temporal_flowrensic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
+ temporal_flowrensic/workflow.py,sha256=8V_lTO8MM0PosAPv0tMrtx3__yjFbIh3l5yGUO7Eb7M,3915
51
+ temporal_flowrensic_python_sdk-0.6.63.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
52
+ temporal_flowrensic_python_sdk-0.6.63.dist-info/WHEEL,sha256=MWx7psoF7KNST9G72pGtiBYuaXRXQXBk9pw5R6FzYko,80
53
+ temporal_flowrensic_python_sdk-0.6.63.dist-info/METADATA,sha256=yZWxoodgHXHmu5yeKIrvuezjRGoK2GDSFo9Vy7fPKF0,5001
54
+ temporal_flowrensic_python_sdk-0.6.63.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.13.7
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.