Skip to content

Commit

Permalink
[Release] Synchronize for release (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
reboot-dev-bot authored Nov 1, 2024
1 parent 5c8f668 commit 4b276dc
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 26 deletions.
2 changes: 1 addition & 1 deletion api/bank/v1/account.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ message Account {
uint64 balance = 2;
}

service AccountInterface {
service AccountMethods {
rpc Open(OpenRequest) returns (OpenResponse) {
option (rbt.v1alpha1.method).writer = {
constructor: {},
Expand Down
2 changes: 1 addition & 1 deletion api/bank/v1/bank.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "bank/v1/errors.proto";

////////////////////////////////////////////////////////////////////////

service BankInterface {
service BankMethods {
rpc SignUp(SignUpRequest) returns (SignUpResponse) {
option (rbt.v1alpha1.method).transaction = {
};
Expand Down
2 changes: 1 addition & 1 deletion api/hello_constructors/v1/hello.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "rbt/v1alpha1/options.proto";

////////////////////////////////////////////////////////////////////////

service HelloInterface {
service HelloMethods {
// Creates a Hello instance.
rpc Create(CreateRequest) returns (CreateResponse) {
option (rbt.v1alpha1.method).writer = {
Expand Down
2 changes: 1 addition & 1 deletion api/hello_legacy_grpc/v1/greeter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import "google/protobuf/empty.proto";
// (ProxyGreeter) routes incoming requests to one of the two services, allowing
// a gradual migration from one to the other.

service RebootGreeterInterface {
service RebootGreeterMethods {
rpc Initialize(google.protobuf.Empty) returns (google.protobuf.Empty) {
option (rbt.v1alpha1.method).workflow = {
};
Expand Down
2 changes: 1 addition & 1 deletion api/hello_tasks/v1/hello.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "rbt/v1alpha1/tasks.proto";

////////////////////////////////////////////////////////////////////////

service HelloInterface {
service HelloMethods {
// Returns the current list of recorded messages.
rpc Messages(MessagesRequest) returns (MessagesResponse) {
option (rbt.v1alpha1.method).reader = {
Expand Down
2 changes: 1 addition & 1 deletion bank/backend/src/account_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
logging.basicConfig(level=logging.INFO)


class AccountServicer(Account.Interface):
class AccountServicer(Account.Servicer):

async def Open(
self,
Expand Down
2 changes: 1 addition & 1 deletion bank/backend/src/bank_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logging.basicConfig(level=logging.INFO)


class BankServicer(Bank.Interface):
class BankServicer(Bank.Servicer):

async def SignUp(
self,
Expand Down
2 changes: 1 addition & 1 deletion hello-constructors/backend/src/hello_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from reboot.aio.contexts import ReaderContext, WriterContext


class HelloServicer(Hello.Interface):
class HelloServicer(Hello.Servicer):

async def Create(
self,
Expand Down
2 changes: 1 addition & 1 deletion hello-legacy-grpc/backend/src/reboot_greeter_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
logging.basicConfig(level=logging.INFO)


class RebootGreeterServicer(RebootGreeter.Interface):
class RebootGreeterServicer(RebootGreeter.Servicer):

async def _get_deprecated_salutation(self, context: Context) -> str:
"""Fetch a salutation from the deprecated Greeter service written in
Expand Down
2 changes: 1 addition & 1 deletion hello-tasks/backend/src/hello_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ADDITIONAL_SECS_UNTIL_ERASE = 3


class HelloServicer(Hello.Interface):
class HelloServicer(Hello.Servicer):

async def Messages(
self,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[project]
requires-python = ">= 3.10"
dependencies = [
"reboot==0.17.0",
"reboot==0.18.0",
]

[tool.rye]
dev-dependencies = [
"mypy==1.2.0",
"pytest>=7.4.2",
"types-protobuf>=4.24.0.20240129",
"reboot==0.17.0",
"reboot==0.18.0",
]

# This project only uses `rye` to provide `python` and its dependencies, so
Expand Down
8 changes: 1 addition & 7 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ exceptiongroup==1.2.2
frozenlist==1.4.1
# via aiohttp
# via aiosignal
gitdb==4.0.11
# via gitpython
gitpython==3.1.31
# via reboot
googleapis-common-protos==1.65.0
# via grpcio-status
# via reboot
Expand Down Expand Up @@ -108,14 +104,12 @@ python-dateutil==2.9.0.post0
pyyaml==6.0.2
# via kubernetes-asyncio
# via reboot
reboot==0.17.0
reboot==0.18.0
setuptools==75.1.0
# via grpcio-tools
six==1.16.0
# via kubernetes-asyncio
# via python-dateutil
smmap==5.0.1
# via gitdb
tomli==2.0.1
# via mypy
# via pytest
Expand Down
8 changes: 1 addition & 7 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ cryptography==42.0.2
frozenlist==1.4.1
# via aiohttp
# via aiosignal
gitdb==4.0.11
# via gitpython
gitpython==3.1.31
# via reboot
googleapis-common-protos==1.65.0
# via grpcio-status
# via reboot
Expand Down Expand Up @@ -97,14 +93,12 @@ python-dateutil==2.9.0.post0
pyyaml==6.0.2
# via kubernetes-asyncio
# via reboot
reboot==0.17.0
reboot==0.18.0
setuptools==75.1.0
# via grpcio-tools
six==1.16.0
# via kubernetes-asyncio
# via python-dateutil
smmap==5.0.1
# via gitdb
types-protobuf==5.28.0.20240924
# via mypy-protobuf
typing-extensions==4.9.0
Expand Down

0 comments on commit 4b276dc

Please sign in to comment.