How to use list_templates method in localstack

Best Python code snippet using localstack_python

loaders.pyi

Source:loaders.pyi Github

copy

Full Screen

...4def split_template_path(template: Text) -> List[Text]: ...5class BaseLoader:6 has_source_access = ... # type: bool7 def get_source(self, environment, template): ...8 def list_templates(self): ...9 def load(self, environment, name, globals: Optional[Any] = ...): ...10class FileSystemLoader(BaseLoader):11 searchpath = ... # type: Text12 encoding = ... # type: Any13 followlinks = ... # type: Any14 def __init__(self, searchpath: Text, encoding: Text = ..., followlinks: bool = ...) -> None: ...15 def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable]: ...16 def list_templates(self): ...17class PackageLoader(BaseLoader):18 encoding = ... # type: Text19 manager = ... # type: Any20 filesystem_bound = ... # type: Any21 provider = ... # type: Any22 package_path = ... # type: Any23 def __init__(self, package_name: Text, package_path: Text = ..., encoding: Text = ...) -> None: ...24 def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable]: ...25 def list_templates(self): ...26class DictLoader(BaseLoader):27 mapping = ... # type: Any28 def __init__(self, mapping) -> None: ...29 def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable]: ...30 def list_templates(self): ...31class FunctionLoader(BaseLoader):32 load_func = ... # type: Any33 def __init__(self, load_func) -> None: ...34 def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable]: ...35class PrefixLoader(BaseLoader):36 mapping = ... # type: Any37 delimiter = ... # type: Any38 def __init__(self, mapping, delimiter: str = ...) -> None: ...39 def get_loader(self, template): ...40 def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable]: ...41 def load(self, environment, name, globals: Optional[Any] = ...): ...42 def list_templates(self): ...43class ChoiceLoader(BaseLoader):44 loaders = ... # type: Any45 def __init__(self, loaders) -> None: ...46 def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable]: ...47 def load(self, environment, name, globals: Optional[Any] = ...): ...48 def list_templates(self): ...49class _TemplateModule(ModuleType): ...50class ModuleLoader(BaseLoader):51 has_source_access = ... # type: bool52 module = ... # type: Any53 package_name = ... # type: Any54 def __init__(self, path) -> None: ...55 @staticmethod56 def get_template_key(name): ...57 @staticmethod58 def get_module_filename(name): ......

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful