Skip to content

Conversation

@seanli66
Copy link
Owner

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

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.

2 participants