-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump fideslog to v1.1.3, update usage patterns #453
Conversation
@PSalant726 i moved this back to draft while we wait for fideslog 1.1.0 |
Fideslog v1.1.0 changes the `AnalyticsClient.send` interface such that it automatically executes the request in a separate event loop. There is no longer a need to manually wrap the call in `asyncio.run` or similar. These changes were introduced in ethyca/fideslog#50
4c79817
to
aaaf17d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice simple implementation updates! Looks great @PSalant726 👍🏽
When first running fidesctl apply demo_resources/
after starting the container, the event was not sent - but I haven't been able to reproduce it since (removing analytics_id
, restarting container, etc.). Adding as a comment in case anyone else has seen that and we want to investigate further separately
* adds drp action type to db, adds docs, tests * fix lint, tests * format * remove unneeded func arg * lint * more lint * CR changes * update alembic down migration number * minor docs updates for drp * integration tests and updating alembic * catches integrity error at endpoint level * lint Co-authored-by: Cole Isaac <cole@ethyca.com>
* adds drp action type to db, adds docs, tests * fix lint, tests * format * remove unneeded func arg * lint * more lint * CR changes * update alembic down migration number * minor docs updates for drp * integration tests and updating alembic * catches integrity error at endpoint level * lint Co-authored-by: Cole Isaac <cole@ethyca.com>
Related to ethyca/fideslog#50
Related to ethyca/fideslog#51
Code Changes
asyncio.run
when sendingAnalyticsEvent
sAnalyticsException
-->AnalyticsError
OPT_OUT_COPY
and retrieve input usingOPT_OUT_PROMPT
Steps to Confirm
make cli
Pre-Merge Checklist
Description Of Changes
Fideslog v1.1.3 includes the following changes
AnalyticsClient.send
interface automatically executes the request in a separate event loop. There is no longer a need to manually wrap the call inasyncio.run
or similar.AnalyticsException
has been renamed toAnalyticsError
, to better align with Python conventionutils.py
file now separately exposesOPT_OUT_COPY
andOPT_OUT_PROMPT
, to better enable non-CLI applications to displayOPT_OUT_COPY
without automatically assuming a user will respond with their keyboard.