Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Convert google image data to json schema #111

Merged
merged 6 commits into from
Nov 16, 2022

Conversation

miyunari
Copy link
Member

@miyunari miyunari commented Nov 10, 2022

closes #95

@miyunari miyunari changed the title Convert image data to json schema #95 Convert image data to json schema Nov 10, 2022
@miyunari miyunari changed the title Convert image data to json schema Convert google image data to json schema Nov 10, 2022
@F-X64
Copy link
Member

F-X64 commented Nov 11, 2022

Changes looking great as usual. Only thing I'd like to add would be tests for your newly added functions to get the code coverage up again. Basically the same thing we did for AWS!

@miyunari
Copy link
Member Author

Thank you 😄 I am currently working on the tests, that's why I made it a draft pull request for now 👍

@miyunari miyunari force-pushed the convert_image_data_to_JSON_schema_#95 branch 5 times, most recently from a77c925 to 34740ae Compare November 14, 2022 16:42
@F-X64 F-X64 added this to the Convert and serve image data milestone Nov 15, 2022
@miyunari miyunari force-pushed the convert_image_data_to_JSON_schema_#95 branch 3 times, most recently from c6e5203 to 83da1df Compare November 15, 2022 09:07
@miyunari miyunari marked this pull request as ready for review November 15, 2022 09:09
@miyunari miyunari requested review from major and F-X64 and removed request for major November 15, 2022 09:09
F-X64
F-X64 previously requested changes Nov 15, 2022
src/rhelocator/update_images/gcp.py Outdated Show resolved Hide resolved
@F-X64
Copy link
Member

F-X64 commented Nov 15, 2022

Just a minor issue with the version parsing that I didn't see before, other than that it looks great!

@miyunari miyunari force-pushed the convert_image_data_to_JSON_schema_#95 branch 7 times, most recently from 4ef1586 to 5e5460d Compare November 16, 2022 08:56
Signed-off-by: Janine Olear <pninak@web.de>
Signed-off-by: Janine Olear <pninak@web.de>
Signed-off-by: Janine Olear <pninak@web.de>
Signed-off-by: Janine Olear <pninak@web.de>
@miyunari miyunari force-pushed the convert_image_data_to_JSON_schema_#95 branch 4 times, most recently from ac5f51a to 4132c86 Compare November 16, 2022 10:01
Signed-off-by: Janine Olear <pninak@web.de>
@miyunari miyunari force-pushed the convert_image_data_to_JSON_schema_#95 branch from 4132c86 to febe0b7 Compare November 16, 2022 10:47
@miyunari miyunari requested review from F-X64 and major November 16, 2022 10:50
@major major dismissed F-X64’s stale review November 16, 2022 14:27

I think Nina got this fixed up in the latest revision.



def test_format_image():
"""Test transforming a single google image into a schmea approved
Copy link
Member

Choose a reason for hiding this comment

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

Typo on schema here, but it's minor. 😜

Signed-off-by: Janine Olear <pninak@web.de>
@miyunari miyunari merged commit 28db81b into main Nov 16, 2022
@miyunari miyunari deleted the convert_image_data_to_JSON_schema_#95 branch November 16, 2022 15:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google: Convert raw image data according to JSON schema
3 participants