Skip to content

Conversation

@swember
Copy link
Contributor

@swember swember commented Jul 4, 2025

To address the issue raised here and update Marshmallow to a newer version we need to update number types mapping.

@swember swember requested review from a team, geopet85 and pkopac and removed request for a team July 4, 2025 18:15
Copy link
Contributor

@pkopac pkopac left a comment

Choose a reason for hiding this comment

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

Looks correct 👍

Copy link

@geopet85 geopet85 left a comment

Choose a reason for hiding this comment

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

@chartmogul/analytics can someone check the 3 fields?

Comment on lines 51 to 54
ltv = fields.Float()
customers = fields.Integer()
asp = fields.Float()
arpa = fields.Float()
Copy link

Choose a reason for hiding this comment

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

I have some doubt whether ltv, asp and arpa need to be float. Integer should be fine IMO, but someone from @chartmogul/analytics should check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you're right, asp and arpa are integers. Ltv is not, not sure why, but you can see it in the platform's spec.

quantity = fields.Int(allow_none=True)
mrr = fields.Number(allow_none=True)
arr = fields.Number(allow_none=True)
mrr = fields.Integer(allow_none=True)
Copy link

Choose a reason for hiding this comment

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

This comment applies to all Integer ones; we already use fields.Int, which is an alias for Integer (link). It might be better to stick to a single integer alias for consistency and homogeneity.

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 0c8fc44 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 98.5% (0.0% change).

View more on Code Climate.

@swember swember requested a review from geopet85 July 7, 2025 12:47
@swember swember merged commit c14a485 into main Jul 7, 2025
9 checks passed
@swember swember deleted the dmitriydavydov/sc-69544/update-marshmallow-in-python-lib branch July 7, 2025 12:56
@davidlacho
Copy link
Contributor

Thanks for the update, @swember . @geopet85 , @pkopac do you have an update when this will be released?

@swember
Copy link
Contributor Author

swember commented Jul 9, 2025

Hi @davidlacho, we'll release it most likely today, in a worst case tomorrow.

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