nutritious-hair-72580
04/09/2024, 10:22 PMtarget, is this the best way to get the content as text? Had to search through Slack - it seems a little convoluted 🤷
hydrated_source = await Get(HydratedSources, HydrateSourcesRequest(target[SourcesField]))
source_contents = await Get(DigestContents, Digest,
hydrated_source.snapshot.digest)
text_content = source_contents[0].content.decode()
I'm just trying to modify a property in a json file (and write it back out).curved-television-6568
04/10/2024, 6:55 AMnutritious-hair-72580
04/10/2024, 10:31 PM