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

Create standardized PositionType class #334

Merged
merged 7 commits into from
Oct 25, 2024

Conversation

DriesDeprest
Copy link
Contributor

PR related to: #331.

I've replaced the Position with the 'standardized' PositionType class. I've refactored the StatsBomb deserializer and tests to work with the proposed changes.

I'm awaiting approval by @JanVanHaaren / @koenvo of the proposed implementation in this PR, before updating other serializers.

@koenvo
Copy link
Contributor

koenvo commented Aug 1, 2024

Akkoord

@DriesDeprest DriesDeprest changed the title create standardized PositionType class and use for StatsBomb create standardized PositionType class Aug 6, 2024
@DriesDeprest DriesDeprest changed the title create standardized PositionType class Create standardized PositionType class Aug 6, 2024
@DriesDeprest DriesDeprest marked this pull request as ready for review August 6, 2024 15:31
# Conflicts:
#	kloppy/tests/test_datafactory.py
#	kloppy/tests/test_opta.py
#	kloppy/tests/test_sportec.py
@DriesDeprest
Copy link
Contributor Author

@koenvo let me know if you have feedback on the implementation!

@koenvo
Copy link
Contributor

koenvo commented Aug 9, 2024

@JanVanHaaren do you think it matters that we lose the provider specific position_id?

@JanVanHaaren
Copy link
Collaborator

@JanVanHaaren do you think it matters that we lose the provider specific position_id?

I don't think so. We're losing provider-specific information in other areas as well.

@DriesDeprest
Copy link
Contributor Author

@koenvo any other feedback or changes required to get this approved?

@koenvo
Copy link
Contributor

koenvo commented Aug 21, 2024

Nope. LGTM. Thanks!

@koenvo koenvo added this to the 3.16.0 milestone Aug 21, 2024
@koenvo
Copy link
Contributor

koenvo commented Oct 22, 2024

Hmm was merging PRs but seems there's a merge conflict. Are you able to resolve it, please?

@koenvo koenvo merged commit 86078dc into PySport:master Oct 25, 2024
19 checks passed
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.

3 participants