MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / compile_template_path

Function compile_template_path

web/pgadmin/utils/compile_template_name.py:21–28  ·  view source on GitHub ↗
(template_prefix, version)

Source from the content-addressed store, hash-verified

19
20
21def compile_template_path(template_prefix, version):
22
23 version_path = '#{0}#'.format(version)
24
25 # Template path concatenation should be same as
26 # Ref: ../pgadmin4/web/pgadmin/utils/versioned_template_loader.py +54
27 # to avoid path mismatch in windows
28 return template_prefix + '/' + version_path

Callers 12

wrapMethod · 0.90
wrapMethod · 0.90
wrapMethod · 0.90
wrapMethod · 0.90
wrapMethod · 0.90
wrapMethod · 0.90
wrapMethod · 0.90
wrapMethod · 0.90
get_database_schemaFunction · 0.90
get_table_columnsFunction · 0.90
get_table_infoFunction · 0.90
compile_template_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected