Skip to content

Instantly share code, notes, and snippets.

@cassioeskelsen
Created November 6, 2021 23:41
Show Gist options
  • Save cassioeskelsen/5ce4529625203029dd49b19fb3749c93 to your computer and use it in GitHub Desktop.
Save cassioeskelsen/5ce4529625203029dd49b19fb3749c93 to your computer and use it in GitHub Desktop.
class MongoCustomerRepository(CustomerRepository):
def get_customers(self) -> List[Customer]:
return [Customer(1, 'xpto'), Customer(2, 'foo bar')]
def get_special_customers(self) -> List[Customer]:
return [Customer(1, 'xpto')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment