-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature / Documentation and code generator updates (#445)
* Simple API for exposing batch job status in the runtime * Update runtime proto version * Update GCP dependencies to work with later proto version * Fix output path for pb2 generated files in build_runtime.py * Add support for python gRPC to the code generator * Allow specifying runtime API server params in the CLI * Allow specifying model class as a string in dev mode for run model jobs * Update codegen scripts to handle gRPC gen for Python * Add gRPC dependencies to the runtime (optional in distribution) * Add a placeholder package for the generated gRPC code * Stub implementation of the runtime API server, with start / stop control * Do not depend on config in the api package (this dependency could be added but doesn't exist at present) * Fix for proto build ordering * Add gRPC status lib as a runtime dependency * Codec module to convert to/from gRPC messages * Add a job list API call to the runtime API * Auto pre-start the runtime if warm up not called before start() * First basic test talking to the runtime API * Allow static modules in _impl.grpc for dist builds (generated code does not overwrite static modules) * Include gRPC tools in runtime dev dependencies * Fix logic for model selectors in dev mode translation * Do some housekeeping in dev_mode.py * Update web API builder to handle nested packages and exclude internal APIs * Fix order forcing in API proto files * Remove redundant proto imports * Enable package grouping in the TRAC protoc generator plugin * Fix protoc-ctrl for Windows * Fix handling of non-public APIs in protoc-ctrl.py * Use the same public API filters for JavaScript and Python * Fix generated enums and enum doc comments * Add basic doc comments to PartType (prevent strange behaviour in Spinx) * Make the gRPC sever use the new Enum behavior and the associated test expect that * Remove capability to start the runtime server and do not include it in the runtime CLI * Fill in missing top-level doc comments in the metadata model * Fill in missing top-level doc comments in the TRAC platform APIs * Fill in missing top-level doc comments in the runtime launch module * Fix markup in proto file doc comments
- Loading branch information
Martin Traverse
authored
Sep 1, 2024
1 parent
2680a3c
commit f3b849d
Showing
29 changed files
with
892 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.