This commit is contained in:
usbharu 2024-06-02 00:59:52 +09:00
parent 534a0f1957
commit 7c2c01918d
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
3 changed files with 27 additions and 0 deletions

View File

@ -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',
))

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.11 (illust-tag-deepdanbooru)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -9,6 +9,11 @@ message TaggingRequest{
string illust_id = 1; string illust_id = 1;
} }
message TaggingRequests {
repeated string illust_id = 1;
}
service IllustTaggingService { service IllustTaggingService {
rpc requestTagging(TaggingRequest) returns (google.protobuf.Empty); rpc requestTagging(TaggingRequest) returns (google.protobuf.Empty);
rpc requestsTagging(TaggingRequests) returns (google.protobuf.Empty);
} }