Created
November 6, 2021 23:41
-
-
Save cassioeskelsen/5ce4529625203029dd49b19fb3749c93 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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