Audit use/structure of data classes
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing issues #11 and #32, then audit the data-class usages and the AerieClient methods that expose them. Compare the API and client classes, including to_api_create and from_api_read mappings, against the proposed serialization rules. Done means the class boundaries and usage conventions are codified and the affected usages follow them.
Written by the indexing model from the issue text.
Description
Inspired by the goal of cleaning up the data classes as much as possible (see #11 and #32), we should audit everywhere they're used, everywhere they aren't but should, and how they're structured.
I'm particularly interested in codifying the difference between the "API" and "client" data classes. My current ideas are:
- "API" data classes should contain exclusively serializable data types so that we don't need any custom (de)serialization defined for those classes. They could use default JSON serialization and go straight into the GQL queries.
- Any custom mapping would happen in the "client"
to_api_createandfrom_api_readmethods. - Only "client" data classes would be exposed as input/return types on
AerieClientmethods. "API" data classes are only used behind the scenes. - "API" data classes are then only created/used in cases where we need custom (de)serialization. Otherwise, we can directly use the "client" data class.
- Dominant language
- Python
- Stars
- 5
- Forks
- 7
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NASA-AMMOS/plandev-cli
-
Aerie-cli commit hooks failingMay be free again @colin-lewis-19 claimed this 329 days ago, and no pull request is open. Open
NASA-AMMOS/plandev-cli#182 · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
NASA-AMMOS/plandev-cli#180 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
NASA-AMMOS/plandev-cli#177 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
NASA-AMMOS/plandev-cli#176 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
NASA-AMMOS/plandev-cli#171 ·
All issues in NASA-AMMOS/plandev-cli
Similar issues
-
intake mcp-intake needs-human-review priority:high type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Ikalus1988/MisakaNet#6081 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 79/100
developmentseed/titiler-covjson#164 ·
Maintainers usually reply within 1 day
-
area/install bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day