Skip to content

Conversation

@seanli66
Copy link

Decorator pattern is applied to LocationService class and its inheritors. The common functions that were implemented in the LocationService inheritor classes were moved and implemented in their parent, LocationService. the get_locations function work as a decorator function and let the LocationService inheritors work as wrapper to the parent LocationService class

@seanli66 seanli66 closed this Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant