subcommunities: add invitation request #2301
Annotations
4 errors
Python (site, 3.9, postgresql14, opensearch2):
site/zenodo_rdm/legacy/requests/utils.py#L1
Black format check
--- /home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/legacy/requests/utils.py 2024-11-28 10:35:52.704725+00:00
+++ /home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/legacy/requests/utils.py 2024-11-28 10:43:37.669462+00:00
@@ -10,12 +10,11 @@
from datetime import datetime, timedelta
from invenio_access.permissions import system_identity
from invenio_records.dictutils import dict_lookup
from invenio_records_resources.services.uow import unit_of_work
-from invenio_requests import (current_request_type_registry,
- current_requests_service)
+from invenio_requests import current_request_type_registry, current_requests_service
from invenio_requests.resolvers.registry import ResolverRegistry
from invenio_search.engine import dsl
from .community_manage_record import CommunityManageRecord
from .record_upgrade import LegacyRecordUpgrade
|
Python (site, 3.9, postgresql14, opensearch2):
site/zenodo_rdm/legacy/requests/utils.py#L1
isort-check
from invenio_access.permissions import system_identity
from invenio_records.dictutils import dict_lookup
from invenio_records_resources.services.uow import unit_of_work
-from invenio_requests import (current_request_type_registry,
- current_requests_service)
+from invenio_requests import current_request_type_registry, current_requests_service
from invenio_requests.resolvers.registry import ResolverRegistry
from invenio_search.engine import dsl
|
Python (site, 3.9, postgresql14, opensearch2):
site/zenodo_rdm/subcommunities/__init__.py#L1
isort-check
# it under the terms of the MIT License; see LICENSE file for more details.
"""Subcommunities implementation."""
-from .request import ZenodoSubCommunityRequest
-from .request import ZenodoSubCommunityInvitationRequest
+from .request import ZenodoSubCommunityInvitationRequest, ZenodoSubCommunityRequest
from .schema import ZenodoSubcommunityRequestSchema
__all__ = (
|
Python (site, 3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|