Cursed Python Code Show more
sys.path_hooks[-1].__closure__.cell_contents += ((GqlFileLoader, ['.gql']),)
Thankfully, I did not do the cursed thing, and found the library import-x that deals with those ugly details for me.
@astraluma if you add a ternary operator in there, it'll summon Beezelbub
ｃｙｂｒｅｓｐａｃｅ: the social hub of the information superhighway
jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal