ripple-down-rules 0.4.8__py3-none-any.whl → 0.4.81__py3-none-any.whl

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.
@@ -263,8 +263,9 @@ class TemplateFileCreator:
263
263
  # convert any CamelCase word into snake_case by adding _ before each capital letter
264
264
  case_name = case_name.replace(f"_{case_query.attribute_name}", "")
265
265
  func_name += case_name
266
- func_name += f"_of_type_{'_or_'.join(map(lambda c: c.__name__,
267
- TemplateFileCreator.get_core_attribute_types(case_query)))}"
266
+ attribute_types = TemplateFileCreator.get_core_attribute_types(case_query)
267
+ attribute_type_names = [t.__name__ for t in attribute_types]
268
+ func_name += f"_of_type_{'_or_'.join(attribute_type_names)}"
268
269
  return str_to_snake_case(func_name)
269
270
 
270
271
  @cached_property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ripple_down_rules
3
- Version: 0.4.8
3
+ Version: 0.4.81
4
4
  Summary: Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning.
5
5
  Author-email: Abdelrhman Bassiouny <abassiou@uni-bremen.de>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -17,9 +17,9 @@ ripple_down_rules/user_interface/gui.py,sha256=mzkyFs0Z7iS22WpPnCwT7HVQYkB72fy8E
17
17
  ripple_down_rules/user_interface/ipython_custom_shell.py,sha256=XS3URpfoGCYA__fKOo2AmJ7wQerp7UXKdhdDKiL5gDY,6537
18
18
  ripple_down_rules/user_interface/object_diagram.py,sha256=84JlEH0nQmtGmP8Su5iRX3ZfqByYHbVwd0BQYYPuckY,4436
19
19
  ripple_down_rules/user_interface/prompt.py,sha256=97s5mhmsqrFTQkfmHssYFko0SPLBDxesHoLumqZO0FA,8028
20
- ripple_down_rules/user_interface/template_file_creator.py,sha256=6lwgk_x92NZbETGZxkzEyevajqf1ZQn7jPbc4NZzr34,13919
21
- ripple_down_rules-0.4.8.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
22
- ripple_down_rules-0.4.8.dist-info/METADATA,sha256=1mAFbIwa6l8_4fBKBGTTTRYaZ_pVUp4yeBoziHADQyM,43217
23
- ripple_down_rules-0.4.8.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
24
- ripple_down_rules-0.4.8.dist-info/top_level.txt,sha256=VeoLhEhyK46M1OHwoPbCQLI1EifLjChqGzhQ6WEUqeM,18
25
- ripple_down_rules-0.4.8.dist-info/RECORD,,
20
+ ripple_down_rules/user_interface/template_file_creator.py,sha256=-0L0jGW1VTrL0aer67mIdjFr3gKjXKA6zRZ5IXbY5vY,13959
21
+ ripple_down_rules-0.4.81.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
22
+ ripple_down_rules-0.4.81.dist-info/METADATA,sha256=M5ZHi5jmF3gsqEkVreXX3HEHqhPRPmrXcFHzdXzIVkM,43218
23
+ ripple_down_rules-0.4.81.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
24
+ ripple_down_rules-0.4.81.dist-info/top_level.txt,sha256=VeoLhEhyK46M1OHwoPbCQLI1EifLjChqGzhQ6WEUqeM,18
25
+ ripple_down_rules-0.4.81.dist-info/RECORD,,