Based on the Prefect documentation, it does not explicitly state the use of f-strings or variables directly within block attributes. Blocks are meant for loading configurations and are enhanced with business logic, as well as interfacing with various systems like S3, GCS, or Azure. There is a mention of being able to swap configuration at runtime by specifying different block names, but it does not directly answer the question regarding f-strings.
For more detailed information, please refer to the following sources:
-
Prefect Blog: Global Coordination Plane
-
Prefect Docs: Blocks