requests: manage sending notifications #1262
Annotations
4 errors and 2 warnings
Python / Tests (3.9, postgresql14, opensearch2):
invenio_requests/services/requests/service.py#L1
Black format check
--- /home/runner/work/invenio-requests/invenio-requests/invenio_requests/services/requests/service.py 2024-11-14 13:45:27.988893+00:00
+++ /home/runner/work/invenio-requests/invenio-requests/invenio_requests/services/requests/service.py 2024-11-14 13:48:54.335941+00:00
@@ -222,11 +222,13 @@
raise CannotExecuteActionError(action)
action_obj.execute(identity, uow)
@unit_of_work()
- def execute_action(self, identity, id_, action, data=None, uow=None, expand=False, **kwargs):
+ def execute_action(
+ self, identity, id_, action, data=None, uow=None, expand=False, **kwargs
+ ):
"""Execute the given action for the request, if possible.
For instance, it would be not possible to execute the specified
action on the request, if the latter has the wrong status.
"""
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_requests/services/requests/service.py#L1
Black format check
--- /home/runner/work/invenio-requests/invenio-requests/invenio_requests/services/requests/service.py 2024-11-14 13:45:29.478565+00:00
+++ /home/runner/work/invenio-requests/invenio-requests/invenio_requests/services/requests/service.py 2024-11-14 13:49:20.315555+00:00
@@ -222,11 +222,13 @@
raise CannotExecuteActionError(action)
action_obj.execute(identity, uow)
@unit_of_work()
- def execute_action(self, identity, id_, action, data=None, uow=None, expand=False, **kwargs):
+ def execute_action(
+ self, identity, id_, action, data=None, uow=None, expand=False, **kwargs
+ ):
"""Execute the given action for the request, if possible.
For instance, it would be not possible to execute the specified
action on the request, if the latter has the wrong status.
"""
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
JS / Tests (20.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/timeline/TimelineFeed.js#L19
'_' is defined but never used
|
JS / Tests (18.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/timeline/TimelineFeed.js#L19
'_' is defined but never used
|