Hey @Steph Clacksman!! I was able to take your code and reproduce the error on prefect version 2.5. Would you mind submitting a git issue here and we'll have the team take a look?
https://github.com/PrefectHQ/prefect/issues
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.