sapiopycommons 2024.12.10a381__py3-none-any.whl → 2024.12.12a382__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.

Potentially problematic release.


This version of sapiopycommons might be problematic. Click here for more details.

@@ -92,7 +92,7 @@ class AuditLogEntry:
92
92
  self.__description = report_row[AuditLogPseudoDef.DESCRIPTION__FIELD_NAME.field_name]
93
93
  self.__users_login_name = report_row[AuditLogPseudoDef.USER_NAME__FIELD_NAME.field_name]
94
94
  self.__comment = report_row[AuditLogPseudoDef.USER_COMMENT__FIELD_NAME.field_name]
95
- self.__data_record_name = report_row[AuditLogPseudoDef.RECORD_NAME__FIELD_NAME]
95
+ self.__data_record_name = report_row[AuditLogPseudoDef.RECORD_NAME__FIELD_NAME.field_name]
96
96
  self.__data_field_name = report_row[AuditLogPseudoDef.DATA_FIELD_NAME__FIELD_NAME.field_name]
97
97
  self.__original_value = report_row[AuditLogPseudoDef.ORIGINAL_VALUE__FIELD_NAME.field_name]
98
98
  self.__new_value = report_row[AuditLogPseudoDef.NEW_VALUE__FIELD_NAME.field_name]
@@ -141,7 +141,7 @@ class AuditLogUtil:
141
141
  root_term = tb.is_term(AuditLogPseudoDef.RECORD_ID__FIELD_NAME, record_ids)
142
142
 
143
143
  # If the user passed in any specific fields, then we should limit the query to those fields.
144
- if fields:
144
+ if fields is not None and fields:
145
145
  fields: list[str] = AliasUtil.to_data_field_names(fields)
146
146
  field_term = tb.is_term(AuditLogPseudoDef.DATA_FIELD_NAME__FIELD_NAME, fields)
147
147
  root_term = TermBuilder.and_terms(root_term, field_term)
@@ -160,7 +160,6 @@ class AuditLogUtil:
160
160
  :return: A dictionary where the keys are the record identifiers passed in, and the values are a list of
161
161
  AuditLogEntry objects which match the record id value of those records.
162
162
  """
163
- fields: list[str] = AliasUtil.to_data_field_names(fields)
164
163
  # First, we must build our report criteria for running the Custom Report.
165
164
  criteria = AuditLogUtil.create_data_record_audit_log_report(records, fields)
166
165
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sapiopycommons
3
- Version: 2024.12.10a381
3
+ Version: 2024.12.12a382
4
4
  Summary: Official Sapio Python API Utilities Package
5
5
  Project-URL: Homepage, https://github.com/sapiosciences
6
6
  Author-email: Jonathan Steck <jsteck@sapiosciences.com>, Yechen Qiao <yqiao@sapiosciences.com>
@@ -30,7 +30,7 @@ sapiopycommons/flowcyto/flowcyto_data.py,sha256=mYKFuLbtpJ-EsQxLGtu4tNHVlygTxKix
30
30
  sapiopycommons/general/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  sapiopycommons/general/accession_service.py,sha256=HYgyOsH_UaoRnoury-c2yTW8SeG4OtjLemdpCzoV4R8,13484
32
32
  sapiopycommons/general/aliases.py,sha256=tdDBNWSGx6s39eHJ3n2kscc4xxW3ZYaUfDftct6FmJE,12910
33
- sapiopycommons/general/audit_log.py,sha256=L-RiaSusvC2MxrEParBPYWrahymLQosEVEJKiiYb1VQ,8759
33
+ sapiopycommons/general/audit_log.py,sha256=pvXPfLr4Rw2X52wAXJGsX5fsPllswnCqaFZQ181j_GU,8727
34
34
  sapiopycommons/general/custom_report_util.py,sha256=6ZIg_Jl02TYUygfc5xqBoI1srPsSxLyxaJ9jwTolGcM,16671
35
35
  sapiopycommons/general/exceptions.py,sha256=GY7fe0qOgoy4kQVn_Pn3tdzHsJZyNIpa6VCChg6tzuM,1813
36
36
  sapiopycommons/general/popup_util.py,sha256=L-4qpTemSZdlD6_6oEsDYIzLOCiZgDK6wC6DqUwzOYA,31925
@@ -53,7 +53,7 @@ sapiopycommons/webhook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
53
53
  sapiopycommons/webhook/webhook_context.py,sha256=D793uLsb1691SalaPnBUk3rOSxn_hYLhdvkaIxjNXss,1909
54
54
  sapiopycommons/webhook/webhook_handlers.py,sha256=MdsVK4bHffkMNmNWl0_qvu-5Lz8-qGu4Ryi7lZO1BZs,18586
55
55
  sapiopycommons/webhook/webservice_handlers.py,sha256=AFM2Va9Fpb2BvlFycIUUOdghtGiEv1Ab5jf44yjHSgU,17218
56
- sapiopycommons-2024.12.10a381.dist-info/METADATA,sha256=BkNq6QIr53sXvwkPvcApQs6uREz-8jLHYe1vzhrlleI,3144
57
- sapiopycommons-2024.12.10a381.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
58
- sapiopycommons-2024.12.10a381.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
59
- sapiopycommons-2024.12.10a381.dist-info/RECORD,,
56
+ sapiopycommons-2024.12.12a382.dist-info/METADATA,sha256=mlgkT6CXxsqlKU179ENC20t7D2vtc-PBMXHylDjFlLU,3144
57
+ sapiopycommons-2024.12.12a382.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
58
+ sapiopycommons-2024.12.12a382.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
59
+ sapiopycommons-2024.12.12a382.dist-info/RECORD,,