Skip to content

Commit a2c4709

Browse files
committed
python: Enable codegen
1 parent 6f72c33 commit a2c4709

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

codegen.toml

+17-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,23 @@ template = "svix-cli/templates/api_resource.rs.jinja"
4343
output_dir = "svix-cli/src/cmds/api"
4444
#
4545
#
46-
#[python]
47-
#template_dir = "python/templates"
48-
#extra_shell_commands = [
49-
# "rm python/svix/api/{environment,health,ingest,operational_webhook}.py",
50-
#]
51-
#[[python.task]]
52-
#template = "python/templates/api_resource.py.jinja"
53-
#output_dir = "python/svix/api"
54-
#[[python.task]]
55-
#template = "python/templates/component_type_summary.py.jinja"
56-
#output_dir = "python/svix/models"
57-
#[[python.task]]
58-
#template = "python/templates/component_type.py.jinja"
59-
#output_dir = "python/svix/models"
46+
[python]
47+
template_dir = "python/templates"
48+
extra_shell_commands = [
49+
"rm python/svix/api/{environment,health,ingest,operational_webhook}.py",
50+
]
51+
[[python.task]]
52+
template = "python/templates/api_resource.py.jinja"
53+
output_dir = "python/svix/api"
54+
[[python.task]]
55+
template = "python/templates/component_type_summary.py.jinja"
56+
output_dir = "python/svix/models"
57+
[[python.task]]
58+
template = "python/templates/component_type.py.jinja"
59+
output_dir = "python/svix/models"
60+
[[python.task]]
61+
template = "python/templates/summary.py.jinja"
62+
output_dir = "python/svix/api"
6063
#
6164
#
6265
[ruby]

0 commit comments

Comments
 (0)