how to secure STAC-FASTAPI Transaction Extension #626
-
Hi all, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
you can see https://github.com/stac-utils/stac-fastapi/blob/main/stac_fastapi/api/tests/test_api.py#L74-L85 |
Beta Was this translation helpful? Give feedback.
-
@vincentsarago I tried to follow your suggestions but I think I'm doing something wrong.
but first of all if I run
Moreover, if I look at the file you suggested test_api.py it is different from the one in the link. could you please tell me what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
you can
inject
dependencies to the endpoints you wantsee https://github.com/stac-utils/stac-fastapi/blob/main/stac_fastapi/api/tests/test_api.py#L74-L85