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

Function compile_template_name

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

Source from the content-addressed store, hash-verified

9
10
11def compile_template_name(
12 template_prefix, template_file_name, version):
13
14 # Template path concatenation should be same as
15 # Ref: ../pgadmin4/web/pgadmin/utils/versioned_template_loader.py +54
16 # to avoid path mismatch in windows
17 return compile_template_path(template_prefix, version) + \
18 '/' + template_file_name
19
20
21def compile_template_path(template_prefix, version):

Callers 2

runTestMethod · 0.90

Calls 1

compile_template_pathFunction · 0.85

Tested by 1

runTestMethod · 0.72