otlmow-template 1.0__tar.gz → 1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: otlmow_template
3
- Version: 1.0
3
+ Version: 1.1
4
4
  Author-email: David Vlaminck <david.vlaminck@mow.vlaanderen.be>, Jasper Berton <jasperberton1@telenet.be>
5
5
  License: GNU GENERAL PUBLIC LICENSE
6
6
  Version 3, 29 June 2007
@@ -70,7 +70,7 @@ class SubsetTemplateCreator:
70
70
  add_deprecated: bool = False,
71
71
  generate_choice_list: bool = True,
72
72
  split_per_type: bool = True,
73
- model_directory: Path = None):
73
+ model_directory: Path = None, **kwargs):
74
74
  """
75
75
  Generate a template from a subset file, async version.
76
76
  Await this function!
@@ -98,7 +98,7 @@ class SubsetTemplateCreator:
98
98
 
99
99
  # write the file
100
100
  await OtlmowConverter.from_objects_to_file_async(
101
- file_path=template_file_path, sequence_of_objects=objects, split_per_type=split_per_type)
101
+ file_path=template_file_path, sequence_of_objects=objects, split_per_type=split_per_type, **kwargs)
102
102
 
103
103
  # alter the file if needed
104
104
  extension = template_file_path.suffix.lower()
@@ -126,7 +126,7 @@ class SubsetTemplateCreator:
126
126
  add_deprecated: bool = False,
127
127
  generate_choice_list: bool = True,
128
128
  split_per_type: bool = True,
129
- model_directory: Path = None):
129
+ model_directory: Path = None, **kwargs):
130
130
  """
131
131
  Generate a template from a subset file.
132
132
 
@@ -154,7 +154,7 @@ class SubsetTemplateCreator:
154
154
  # write the file
155
155
  OtlmowConverter.from_objects_to_file(
156
156
  file_path=template_file_path, sequence_of_objects=objects, split_per_type=split_per_type,
157
- model_directory=model_directory)
157
+ model_directory=model_directory, **kwargs)
158
158
 
159
159
  # alter the file if needed
160
160
  extension = template_file_path.suffix.lower()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: otlmow_template
3
- Version: 1.0
3
+ Version: 1.1
4
4
  Author-email: David Vlaminck <david.vlaminck@mow.vlaanderen.be>, Jasper Berton <jasperberton1@telenet.be>
5
5
  License: GNU GENERAL PUBLIC LICENSE
6
6
  Version 3, 29 June 2007
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "otlmow_template"
7
- version = "1.0"
7
+ version = "1.1"
8
8
  authors = [{name = "David Vlaminck", email = "david.vlaminck@mow.vlaanderen.be"},
9
9
  {name = "Jasper Berton", email = "jasperberton1@telenet.be"},]
10
10
  readme = "README.md"
File without changes
File without changes
File without changes