-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from ElemarJR/hours-by-everhour-project
Hours by everhour project and Clients CTA
- Loading branch information
Showing
25 changed files
with
2,066 additions
and
1,340 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
from ariadne import QueryType | ||
from ariadne import ObjectType, QueryType | ||
|
||
from .week_review import resolve_week_review | ||
from .timeliness_review import resolve_timeliness_review | ||
from .approved_vs_actual import resolve_approved_vs_actual | ||
from .performance_analysis import resolve_performance_analysis | ||
from .performance_analysis import resolve_performance_analysis, resolve_performance_analysis_pivoted | ||
|
||
def setup_query_for_analytics(query: QueryType): | ||
query.set_field("weekReview", resolve_week_review) | ||
query.set_field("timelinessReview", resolve_timeliness_review) | ||
query.set_field("approvedVsActual", resolve_approved_vs_actual) | ||
query.set_field("performanceAnalysis", resolve_performance_analysis) | ||
query.set_field("performanceAnalysis", resolve_performance_analysis) | ||
|
||
performance_analysis_type = ObjectType('PerformanceAnalysis') | ||
performance_analysis_type.set_field('pivoted', resolve_performance_analysis_pivoted) | ||
|
||
return [performance_analysis_type] |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.