File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 - name : Install Hatch
7171 uses : pypa/hatch@install
7272
73+ - name : Generate run_function protobuf
74+ run : hatch run generate:protoc
75+
7376 - name : Run Unit Tests
7477 run : hatch run test:ci
7578
@@ -114,6 +117,9 @@ jobs:
114117 - name : Set PyPI Project Version
115118 run : hatch version ${{ env.PYPI_VERSION }}
116119
120+ - name : Generate run_function protobuf
121+ run : hatch run generate:protoc
122+
117123 - name : Build Sdist and Wheel
118124 run : hatch build
119125
Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ __marimo__/
212212
213213# function-pythonic
214214crossplane /pythonic /__version__.py
215+ crossplane /pythonic /proto /v1 /run_function_pb2 *
215216pocs /
216217pythonic-packages /
217218tests /protobuf /pytest_pb2 *
Original file line number Diff line number Diff line change 11
22import datetime
33from google .protobuf .duration_pb2 import Duration
4- from crossplane .function .proto .v1 import run_function_pb2 as fnv1
54
6- from . import auto_ready
7- from . import protobuf
5+ from . import (
6+ auto_ready ,
7+ protobuf ,
8+ )
9+ from .proto .v1 import run_function_pb2 as fnv1
810
911
1012_notset = object ()
Original file line number Diff line number Diff line change 77import sys
88
99import grpc
10- from crossplane . function .proto .v1 import run_function_pb2 as fnv1
11- from crossplane . function .proto .v1 import run_function_pb2_grpc as grpcv1
10+ from .proto .v1 import run_function_pb2 as fnv1
11+ from .proto .v1 import run_function_pb2_grpc as grpcv1
1212from .. import pythonic
1313
1414logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 77import signal
88import sys
99
10- import crossplane .function .proto .v1 .run_function_pb2_grpc as grpcv1
1110import grpc
1211
1312from . import (
1413 __about__ ,
1514 command ,
1615 function ,
1716)
17+ from .proto .v1 import run_function_pb2_grpc as grpcv1
18+
1819
1920logger = logging .getLogger (__name__ )
2021
You can’t perform that action at this time.
0 commit comments