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

BDRSPS-762 Create initial version of incidental template v3 #185

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

Lincoln-GR
Copy link
Contributor

This is entirely copied from v2, with just the version number changed to v3.0.0

@Lincoln-GR Lincoln-GR force-pushed the BDRSPS-762-incidental-v3 branch from 424edb0 to 56209da Compare August 26, 2024 01:45
Copy link
Collaborator

@joecrowleygaia joecrowleygaia left a comment

Choose a reason for hiding this comment

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

I want the template to be hidden so it can be merged and work begin on the mapping changes, without it being available through BDR PartA. See comment on mapper.py.



# Register Mapper
base.mapper.ABISMapper.register_mapper(IncidentalOccurrenceMapper)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can leave this commented out for now or behind a feature flag somehow? Maybe a conditional of when version >= 5.0.0(-rcx) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joecrowleygaia I'll put it behind a check so its only registered for unit tests?

@joecrowleygaia joecrowleygaia requested a review from chungvl August 26, 2024 02:14
This is entirely copied from v2, with just the version number changed to v3.0.0
This means it can be unit tested while we develop it, but not available in the app
@Lincoln-GR Lincoln-GR force-pushed the BDRSPS-762-incidental-v3 branch from 56209da to 8148d5c Compare August 26, 2024 02:25
@Lincoln-GR Lincoln-GR marked this pull request as ready for review August 26, 2024 02:25
Comment on lines +3146 to +3148
if os.getenv("PYTEST_VERSION"):
# incidental v3 is still in development, only register for unit tests.
base.mapper.ABISMapper.register_mapper(IncidentalOccurrenceMapper)
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@joecrowleygaia joecrowleygaia merged commit a19dfdb into main Aug 26, 2024
5 checks passed
@Lincoln-GR Lincoln-GR deleted the BDRSPS-762-incidental-v3 branch August 26, 2024 02:43
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