Skip to content

Conversation

@Angeluz-07
Copy link
Contributor

In this PR I include changes that Fixes #147 . Changes related to this are in utils/extend_model.py and utils/worked_time.py

Also included a refactor of the parameter peeker in the find_all method of CosmosDBRepository class. This had the purpose to send a validation function from a high level class to a low level class. This function was running logic that would be better understood if applied in the high level class. Also, eventually we would need to run more than one validation function. With the current changes I pretend make this validation functions easy to modify and debug. This has been discussed with @fabidick22 previously and we agreed on it.

Changes related to remove the peeker parameter are in the files cosmos_db.py, time_entries_model.py. Test were updated to meet this changes, in time_entries_namespace_test.py.

The rest of files were only formatted automatically by our new commit hook.

@Angeluz-07 Angeluz-07 merged commit b0ac67f into master May 21, 2020
@Angeluz-07 Angeluz-07 deleted the ref/move-custom-modules-to-utils-folder#147 branch June 11, 2020 17:11
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.

Add a standard utils module

4 participants