wip
This commit is contained in:
parent
534a0f1957
commit
7c2c01918d
|
@ -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',
|
||||
))
|
||||
|
|
@ -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>
|
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue