Skip to content

Commit

Permalink
regenerate stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
palp committed Jul 1, 2023
1 parent 22fb066 commit 7971aeb
Show file tree
Hide file tree
Showing 29 changed files with 5,339 additions and 1,113 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"generate-js": "buf generate --template buf.gen.js.yaml --output=./src",
"generate-kt": "buf generate --template buf.gen.kt.yaml --output=./src",
"generate-py": "buf generate --template buf.gen.py.yaml --output=./src",
"generate-swift": "buf generate --template buf.gen.swift.yaml -output=./src",
"generate": "npm run generate-go && npm run generate-js && npm run generate-kt && npm run generate-py && npm run generate-swift"
"generate-swift": "buf generate --template buf.gen.swift.yaml --output=./src",
"generate": "npm run generate-go && npm run generate-js && npm run generate-py"
},
"keywords": [],
"author": "",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/stability_api/platform/dashboard/v1/dashboard.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 57 additions & 47 deletions src/stability_api/platform/engines/v1/engines.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/stability_api/platform/engines/v1/engines_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ export declare class EngineInfo extends Message<EngineInfo> {
*/
description: string;

/**
* @generated from field: bool can_fine_tune = 8;
*/
canFineTune: boolean;

constructor(data?: PartialMessage<EngineInfo>);

static readonly runtime: typeof proto3;
Expand Down
1 change: 1 addition & 0 deletions src/stability_api/platform/engines/v1/engines_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const EngineInfo = proto3.makeMessageType(
{ no: 5, name: "tokenizer", kind: "enum", T: proto3.getEnumType(EngineTokenizer) },
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 8, name: "can_fine_tune", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
],
);

Expand Down
24 changes: 12 additions & 12 deletions src/stability_api/platform/engines/v1/engines_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/stability_api/platform/engines/v1/engines_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,24 @@ GPT2: EngineTokenizer
PILE: EngineTokenizer

class EngineInfo(_message.Message):
__slots__ = ["id", "owner", "ready", "type", "tokenizer", "name", "description"]
__slots__ = ["id", "owner", "ready", "type", "tokenizer", "name", "description", "can_fine_tune"]
ID_FIELD_NUMBER: _ClassVar[int]
OWNER_FIELD_NUMBER: _ClassVar[int]
READY_FIELD_NUMBER: _ClassVar[int]
TYPE_FIELD_NUMBER: _ClassVar[int]
TOKENIZER_FIELD_NUMBER: _ClassVar[int]
NAME_FIELD_NUMBER: _ClassVar[int]
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
CAN_FINE_TUNE_FIELD_NUMBER: _ClassVar[int]
id: str
owner: str
ready: bool
type: EngineType
tokenizer: EngineTokenizer
name: str
description: str
def __init__(self, id: _Optional[str] = ..., owner: _Optional[str] = ..., ready: bool = ..., type: _Optional[_Union[EngineType, str]] = ..., tokenizer: _Optional[_Union[EngineTokenizer, str]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
can_fine_tune: bool
def __init__(self, id: _Optional[str] = ..., owner: _Optional[str] = ..., ready: bool = ..., type: _Optional[_Union[EngineType, str]] = ..., tokenizer: _Optional[_Union[EngineTokenizer, str]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., can_fine_tune: bool = ...) -> None: ...

class ListEnginesRequest(_message.Message):
__slots__ = []
Expand Down
Loading

0 comments on commit 7971aeb

Please sign in to comment.