Skip to content
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

Merged
merged 4 commits into from
Oct 20, 2023
Merged

Ref book #3146

merged 4 commits into from
Oct 20, 2023

Conversation

urchinpro
Copy link
Collaborator

Описание изменений

api-Получение справочника

@@ -3088,3 +3089,57 @@ def get_prices_by_date(request):
} for i in prices]
Copy link
Contributor

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 🐶

Suggested change
} for i in prices]
}
for i in prices
]

Comment on lines 3106 to 3112
service_result = {
"serviceId": "",
"serviceTitle": "",
"serviceInternalCode": "",
"serviceNMUCode": "",
"fractions": []
}
Copy link
Contributor

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 🐶

Suggested change
service_result = {
"serviceId": "",
"serviceTitle": "",
"serviceInternalCode": "",
"serviceNMUCode": "",
"fractions": []
}
service_result = {"serviceId": "", "serviceTitle": "", "serviceInternalCode": "", "serviceNMUCode": "", "fractions": []}

Comment on lines 3130 to 3139
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
})
Copy link
Contributor

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 🐶

Suggested change
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,
}
)

@mikhailprivalov mikhailprivalov merged commit 0ded7d5 into develop Oct 20, 2023
5 checks passed
@delete-merged-branch delete-merged-branch bot deleted the refBook branch October 20, 2023 12:44
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