mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Fix the pyopenapi generator avoid potential circular imports
This commit is contained in:
parent
d463d68e1e
commit
8ed79ad0f3
6 changed files with 5678 additions and 32467 deletions
|
@ -33,10 +33,8 @@ schema_utils.json_schema_type = json_schema_type
|
|||
|
||||
# this line needs to be here to ensure json_schema_type has been altered before
|
||||
# the imports use the annotation
|
||||
from llama_stack.distribution.stack import ( # noqa: E402
|
||||
LLAMA_STACK_API_VERSION,
|
||||
LlamaStack,
|
||||
)
|
||||
from llama_stack.apis.version import LLAMA_STACK_API_VERSION # noqa: E402
|
||||
from llama_stack.distribution.stack import LlamaStack # noqa: E402
|
||||
|
||||
|
||||
def main(output_dir: str):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue