mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 12:53:56 +00:00
chore(rename): move llama_stack.distribution to llama_stack.core
This commit is contained in:
parent
d6ae2b0f47
commit
e3e9945dbb
208 changed files with 335 additions and 335 deletions
|
|
@ -1,13 +0,0 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
import importlib
|
||||
|
||||
|
||||
def instantiate_class_type(fully_qualified_name):
|
||||
module_name, class_name = fully_qualified_name.rsplit(".", 1)
|
||||
module = importlib.import_module(module_name)
|
||||
return getattr(module, class_name)
|
||||
Loading…
Add table
Add a link
Reference in a new issue