diff --git a/illust-tag-deepdanbooru/codegen.py b/illust-tag-deepdanbooru/codegen.py new file mode 100644 index 0000000..38f9c23 --- /dev/null +++ b/illust-tag-deepdanbooru/codegen.py @@ -0,0 +1,11 @@ +from grpc_tools import protoc +protoc.main(( + '', + '-I', + '../unos-proto/src/main/proto', + '--python_out=.', + + '--grpc_python_out=.', + '../unos-proto/src/main/proto/illust/data/illust_data.proto', +)) + diff --git a/illust-tag-deepdanbooru/illust-tag-deepdanbooru.iml b/illust-tag-deepdanbooru/illust-tag-deepdanbooru.iml new file mode 100644 index 0000000..0f5f67e --- /dev/null +++ b/illust-tag-deepdanbooru/illust-tag-deepdanbooru.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/unos-proto/src/main/proto/illust/tag/tag.proto b/unos-proto/src/main/proto/illust/tag/tag.proto index 2ff23f9..74423b0 100644 --- a/unos-proto/src/main/proto/illust/tag/tag.proto +++ b/unos-proto/src/main/proto/illust/tag/tag.proto @@ -9,6 +9,11 @@ message TaggingRequest{ string illust_id = 1; } +message TaggingRequests { + repeated string illust_id = 1; +} + service IllustTaggingService { rpc requestTagging(TaggingRequest) returns (google.protobuf.Empty); + rpc requestsTagging(TaggingRequests) returns (google.protobuf.Empty); } \ No newline at end of file