Skip to content

Instantly share code, notes, and snippets.

@aliwo
Created March 25, 2022 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliwo/5f1dccc832b7a3d3712dbba8f9def0cf to your computer and use it in GitHub Desktop.
Save aliwo/5f1dccc832b7a3d3712dbba8f9def0cf to your computer and use it in GitHub Desktop.
class EndpointA:
def fetch(self):
pass
class EndpointB:
def fetch(self):
pass
class EndpointC:
def fetch(self):
pass
class Module1:
endpoints = (EndpointA, EndpointB)
def render(self, fetched):
pass
class Module2:
endpoints = (EndpointA, EndpointC)
def render(self, fetched):
pass
def fetch_and_render_all():
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment