Created
March 30, 2022 20:15
-
-
Save zehpatricio/593fc8da9c082f9bbfc475e3c42a9479 to your computer and use it in GitHub Desktop.
This file contains 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
from app.domain.use_cases import base_location_use_case | |
from app.domain import model | |
class CreateLocationUseCase(base_location_use_case.BaseLocationUseCase): | |
def create(self, location: model.Location) -> int: | |
return self.repository.create(location) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment