Prefect client being dependent on prefect.core is ...
# ask-community
d
Prefect client being dependent on prefect.core is actually causing some problems for some of our use cases, places where we would like to trigger flows that are external to prefect runtime may have dependency conflicts, for now just rewriting needed client methods so can execute with a minimal dependency tree
c
Hey @DJ Erraballi - that makes sense; I wrote up a similar minimal utility for triggering flows from AWS Lambda that you may find useful here: https://github.com/cicdw/prefect-cloud-lambda/blob/master/lambda_handler.py This seems like a pattern worth explicitly documenting somewhere, or including as a script in the repo for others to use