mirror of
https://github.com/finmars-platform/finmars-core.git
synced 2026-04-26 06:35:59 +03:00
[PR #176] [MERGED] utils/attr_is_relation: add portfolio_type to relation set #186
Labels
No labels
BackEnd
FrontEnd
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/finmars-core#186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/finmars-platform/finmars-core/pull/176
Author: @HenkKalkwater
Created: 2/13/2026
Status: ✅ Merged
Merged: 2/24/2026
Merged by: @paktusov
Base:
main← Head:add-portfolio-type-attr-to-relation-set📝 Commits (1)
6ceaa54utils/attr_is_relation: add portfolio_type to relation set📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
poms/common/utils.py(+1 -0)📄 Description
/api/v1/portfolios/portfolio/ev-group/ returned
group_nameandgroup_identifieras numbers instead of strings. Other endpoints, like /api/v1/instruments/instrument/ev-group/ return strings correctly. These numerical values were then shown in the UI, as showcased in https://github.com/finmars-platform/finmars-core/issues/149#issuecomment-3896996252.By marking
portfolio_typeas a relation, it now correctly shows the names when invoking this API endpoint.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.