bridgy-fed
bridgy-fed copied to clipboard
extract out hydrate function
We fetch and hydrate objects from inline ids in a few places. We should probably pull those out into a more complete, tested function. I think this is the list so far:
https://github.com/snarfed/bridgy-fed/blob/de5191a10eeec99a4ea22931ab3a7b4db36cd6e9/pages.py#L155-L165
https://github.com/snarfed/bridgy-fed/blob/de5191a10eeec99a4ea22931ab3a7b4db36cd6e9/protocol.py#L494-L513
https://github.com/snarfed/bridgy-fed/blob/de5191a10eeec99a4ea22931ab3a7b4db36cd6e9/web.py#L400-L406