Skip to content

Commit

Permalink
feat: init asset proto create
Browse files Browse the repository at this point in the history
  • Loading branch information
l-loic committed Apr 2, 2024
1 parent 1910559 commit 22a3cd7
Show file tree
Hide file tree
Showing 6 changed files with 1,561 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generate: clean python go build submodules
--python_out=python/naas_models \
--go_out=go \
--validate_out="lang=go:go" \
space.proto registry.proto iam.proto aimodel.proto chat.proto credit.proto secret.proto workspace.proto validate.proto common.proto
space.proto registry.proto iam.proto aimodel.proto chat.proto credit.proto secret.proto workspace.proto asset.proto validate.proto common.proto
cd python/naas_models && sed -i.bak 's/import validate_pb2/import naas_models.validate_pb2/g' *.py && rm *.bak
cd python/naas_models/pydantic && sed -i.bak 's/..common_p2p/naas_models.pydantic.common_p2p/g' *.py && rm *.bak

Expand Down
Loading

0 comments on commit 22a3cd7

Please sign in to comment.