Skip to content

Conversation

@mandres2015
Copy link
Collaborator

In this PR add enums for parse status from frontend to database and enable local cors

@mandres2015 mandres2015 requested a review from ararcos December 2, 2021 19:22
@mandres2015 mandres2015 requested a review from ararcos December 3, 2021 14:06
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication



def parse_status_to_string_for_ui(activity: dict) -> dict:
activity['status'] = StatusEnums(activity['status']).name
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be another more generic name no activity

@@ -0,0 +1,2 @@
# flake8: noqa
from .activity_parser import parse_status_to_number, parse_status_to_string_for_ui No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be another more generic name no activity_parser maybe status_parser or another name

@mandres2015
Copy link
Collaborator Author

this moved to the new repository

@mandres2015 mandres2015 closed this Dec 3, 2021
@mandres2015 mandres2015 deleted the TT-430-Read-Activities-in-Localhost branch December 3, 2021 20:45
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.

4 participants