-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ref book #3146
Ref book #3146
Conversation
integration_framework/views.py
Outdated
@@ -3088,3 +3089,57 @@ def get_prices_by_date(request): | |||
} for i in prices] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[black-format] reported by reviewdog 🐶
} for i in prices] | |
} | |
for i in prices | |
] |
integration_framework/views.py
Outdated
service_result = { | ||
"serviceId": "", | ||
"serviceTitle": "", | ||
"serviceInternalCode": "", | ||
"serviceNMUCode": "", | ||
"fractions": [] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[black-format] reported by reviewdog 🐶
service_result = { | |
"serviceId": "", | |
"serviceTitle": "", | |
"serviceInternalCode": "", | |
"serviceNMUCode": "", | |
"fractions": [] | |
} | |
service_result = {"serviceId": "", "serviceTitle": "", "serviceInternalCode": "", "serviceNMUCode": "", "fractions": []} |
integration_framework/views.py
Outdated
fractions.append({ | ||
"id": i.fraction_id, | ||
"title": i.fraction_title, | ||
"fsli": i.fraction_fsli, | ||
"ref_m": json.loads(i.fraction_ref_m), | ||
"ref_f": json.loads(i.fraction_ref_f), | ||
"unitTitle": i.unit_title, | ||
"unitCode": i.unit_code, | ||
"unitUcum": i.unit_ucum | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[black-format] reported by reviewdog 🐶
fractions.append({ | |
"id": i.fraction_id, | |
"title": i.fraction_title, | |
"fsli": i.fraction_fsli, | |
"ref_m": json.loads(i.fraction_ref_m), | |
"ref_f": json.loads(i.fraction_ref_f), | |
"unitTitle": i.unit_title, | |
"unitCode": i.unit_code, | |
"unitUcum": i.unit_ucum | |
}) | |
fractions.append( | |
{ | |
"id": i.fraction_id, | |
"title": i.fraction_title, | |
"fsli": i.fraction_fsli, | |
"ref_m": json.loads(i.fraction_ref_m), | |
"ref_f": json.loads(i.fraction_ref_f), | |
"unitTitle": i.unit_title, | |
"unitCode": i.unit_code, | |
"unitUcum": i.unit_ucum, | |
} | |
) |
Описание изменений
api-Получение справочника