Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
- name: Install Hatch
uses: pypa/hatch@install

- name: Generate run_function protobuf
run: hatch run generate:protoc

- name: Run Unit Tests
run: hatch run test:ci

Expand Down Expand Up @@ -114,6 +117,9 @@ jobs:
- name: Set PyPI Project Version
run: hatch version ${{ env.PYPI_VERSION }}

- name: Generate run_function protobuf
run: hatch run generate:protoc

- name: Build Sdist and Wheel
run: hatch build

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ __marimo__/

# function-pythonic
crossplane/pythonic/__version__.py
crossplane/pythonic/proto/v1/run_function_pb2*
pocs/
pythonic-packages/
tests/protobuf/pytest_pb2*
Expand Down
8 changes: 5 additions & 3 deletions crossplane/pythonic/composite.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

import datetime
from google.protobuf.duration_pb2 import Duration
from crossplane.function.proto.v1 import run_function_pb2 as fnv1

from . import auto_ready
from . import protobuf
from . import (
auto_ready,
protobuf,
)
from .proto.v1 import run_function_pb2 as fnv1


_notset = object()
Expand Down
4 changes: 2 additions & 2 deletions crossplane/pythonic/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import sys

import grpc
from crossplane.function.proto.v1 import run_function_pb2 as fnv1
from crossplane.function.proto.v1 import run_function_pb2_grpc as grpcv1
from .proto.v1 import run_function_pb2 as fnv1
from .proto.v1 import run_function_pb2_grpc as grpcv1
from .. import pythonic

logger = logging.getLogger(__name__)
Expand Down
3 changes: 2 additions & 1 deletion crossplane/pythonic/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
import signal
import sys

import crossplane.function.proto.v1.run_function_pb2_grpc as grpcv1
import grpc

from . import (
__about__,
command,
function,
)
from .proto.v1 import run_function_pb2_grpc as grpcv1


logger = logging.getLogger(__name__)

Expand Down
Loading
Loading