Extract location config policy
This commit is contained in:
+10
-6
@@ -7,29 +7,33 @@ try:
|
||||
from .prompt_builder import (
|
||||
build_cast_config_json,
|
||||
build_category_config_json,
|
||||
cast_preset_choices,
|
||||
category_preset_choices,
|
||||
subcategory_choices,
|
||||
)
|
||||
from .location_config import (
|
||||
build_composition_pool_json,
|
||||
build_location_pool_json,
|
||||
build_thematic_location_json,
|
||||
cast_preset_choices,
|
||||
category_preset_choices,
|
||||
composition_pool_preset_choices,
|
||||
location_pool_preset_choices,
|
||||
location_theme_choices,
|
||||
subcategory_choices,
|
||||
)
|
||||
except ImportError: # Allows local smoke tests from the repository root.
|
||||
from prompt_builder import (
|
||||
build_cast_config_json,
|
||||
build_category_config_json,
|
||||
cast_preset_choices,
|
||||
category_preset_choices,
|
||||
subcategory_choices,
|
||||
)
|
||||
from location_config import (
|
||||
build_composition_pool_json,
|
||||
build_location_pool_json,
|
||||
build_thematic_location_json,
|
||||
cast_preset_choices,
|
||||
category_preset_choices,
|
||||
composition_pool_preset_choices,
|
||||
location_pool_preset_choices,
|
||||
location_theme_choices,
|
||||
subcategory_choices,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user