datastream: add basic OS logging #116
Annotations
3 errors and 10 warnings
Run tests:
tests/datastreams/test_builder.py#L35
test_validate_valid_log_event
AttributeError: 'str' object has no attribute 'isoformat'
|
Run tests:
tests/datastreams/test_builder.py#L45
test_validate_invalid_log_event
Failed: DID NOT RAISE <class 'ValueError'>
|
Run tests
Process completed with exit code 1.
|
Run tests:
invenio_logging/datastreams/schema.py#L19
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'User ID responsible for the event.'}
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L1780
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'User email (if available).'}
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L776
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Roles assigned to the user.'}
|
Run tests:
invenio_logging/datastreams/schema.py#L29
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'The action that took place (e.g., created, deleted).'}
|
Run tests:
invenio_logging/datastreams/schema.py#L33
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Detailed description of the event.'}
|
Run tests:
invenio_logging/datastreams/schema.py#L41
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Type of resource (e.g., record, community, user, file).'}
|
Run tests:
invenio_logging/datastreams/schema.py#L45
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Unique identifier of the resource.'}
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L1606
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Optional metadata related to the resource.'}
|
Run tests:
invenio_logging/datastreams/schema.py#L49
Passing 'self' to `Nested` is deprecated. Use `Nested(lambda: MySchema(...))` instead.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L582
Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'description': 'Optional parent resource, indicating hierarchy (e.g., a run inside a job).'}
|
Loading