@use-tusk/drift-schemas 0.1.18 → 0.1.180
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.
package/README.md
CHANGED
|
@@ -40,6 +40,28 @@ replace github.com/Use-Tusk/tusk-drift-schemas => ../tusk-drift-schemas
|
|
|
40
40
|
|
|
41
41
|
Run `go mod tidy` to update the dependencies.
|
|
42
42
|
|
|
43
|
+
## Python
|
|
44
|
+
|
|
45
|
+
### Installing schemas in Python projects
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
pip install tusk-drift-schemas
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Or install a specific version:
|
|
52
|
+
```
|
|
53
|
+
pip install tusk-drift-schemas==0.1.9
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Then import like:
|
|
57
|
+
```python
|
|
58
|
+
from generated.python.backend import common_pb2
|
|
59
|
+
from generated.python.core import span_pb2
|
|
60
|
+
from generated.python.postgresql import postgresql_pb2
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
# Building
|
|
64
|
+
|
|
43
65
|
## Releasing
|
|
44
66
|
|
|
45
67
|
1. Checkout a new branch with the new version number (e.g. `git checkout -b v0.1.1`)
|
|
@@ -4,9 +4,9 @@ import "../timestamp-D0q8Zt_J.js";
|
|
|
4
4
|
import "../json_schema-dDDndex9.js";
|
|
5
5
|
import "../span-DdYpQIL8.js";
|
|
6
6
|
import { ExportSpansRequest, ExportSpansResponse } from "../span_export_service-DQy6bGqr.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
8
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
10
10
|
|
|
11
11
|
//#region generated/ts/backend/span_export_service.client.d.ts
|
|
12
12
|
/**
|
|
@@ -24,9 +24,9 @@ interface ISpanExportServiceClient {
|
|
|
24
24
|
declare class SpanExportServiceClient implements ISpanExportServiceClient, ServiceInfo {
|
|
25
25
|
private readonly _transport;
|
|
26
26
|
typeName: string;
|
|
27
|
-
methods:
|
|
27
|
+
methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
|
|
28
28
|
options: {
|
|
29
|
-
[extensionName: string]:
|
|
29
|
+
[extensionName: string]: _protobuf_ts_runtime0.JsonValue;
|
|
30
30
|
};
|
|
31
31
|
constructor(_transport: RpcTransport);
|
|
32
32
|
/**
|
|
@@ -4,9 +4,9 @@ import "../timestamp-D0q8Zt_J.js";
|
|
|
4
4
|
import "../json_schema-dDDndex9.js";
|
|
5
5
|
import "../span-DdYpQIL8.js";
|
|
6
6
|
import { CreateDriftRunRequest, CreateDriftRunResponse, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetGlobalSpansRequest, GetGlobalSpansResponse, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetTraceTestRequest, GetTraceTestResponse, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse } from "../test_run_service-mTrPU4o0.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _protobuf_ts_runtime_rpc1 from "@protobuf-ts/runtime-rpc";
|
|
8
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime";
|
|
10
10
|
|
|
11
11
|
//#region generated/ts/backend/test_run_service.client.d.ts
|
|
12
12
|
|
|
@@ -72,9 +72,9 @@ interface ITestRunServiceClient {
|
|
|
72
72
|
declare class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo {
|
|
73
73
|
private readonly _transport;
|
|
74
74
|
typeName: string;
|
|
75
|
-
methods:
|
|
75
|
+
methods: _protobuf_ts_runtime_rpc1.MethodInfo<any, any>[];
|
|
76
76
|
options: {
|
|
77
|
-
[extensionName: string]:
|
|
77
|
+
[extensionName: string]: _protobuf_ts_runtime1.JsonValue;
|
|
78
78
|
};
|
|
79
79
|
constructor(_transport: RpcTransport);
|
|
80
80
|
/**
|
|
@@ -4,9 +4,9 @@ import "../timestamp-D0q8Zt_J.js";
|
|
|
4
4
|
import "../json_schema-dDDndex9.js";
|
|
5
5
|
import "../span-DdYpQIL8.js";
|
|
6
6
|
import { ConnectRequest, ConnectResponse, GetMockRequest, GetMockResponse, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse } from "../communication-CVGBcD54.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _protobuf_ts_runtime_rpc2 from "@protobuf-ts/runtime-rpc";
|
|
8
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
|
|
10
10
|
|
|
11
11
|
//#region generated/ts/core/communication.client.d.ts
|
|
12
12
|
|
|
@@ -37,9 +37,9 @@ interface IMockServiceClient {
|
|
|
37
37
|
declare class MockServiceClient implements IMockServiceClient, ServiceInfo {
|
|
38
38
|
private readonly _transport;
|
|
39
39
|
typeName: string;
|
|
40
|
-
methods:
|
|
40
|
+
methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
|
|
41
41
|
options: {
|
|
42
|
-
[extensionName: string]:
|
|
42
|
+
[extensionName: string]: _protobuf_ts_runtime2.JsonValue;
|
|
43
43
|
};
|
|
44
44
|
constructor(_transport: RpcTransport);
|
|
45
45
|
/**
|