Skip to content

Cohort 22 Salma Anany and Tami Gaertner#15

Open
tagaertner wants to merge 32 commits intoAda-C22:mainfrom
tagaertner:main
Open

Cohort 22 Salma Anany and Tami Gaertner#15
tagaertner wants to merge 32 commits intoAda-C22:mainfrom
tagaertner:main

Conversation

@tagaertner
Copy link

Wave 1 and Wave 2

Copy link

@kelsey-steven-ada kelsey-steven-ada left a comment

Choose a reason for hiding this comment

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

Great work so far y'all!

def get_all_planet():
result_list = []
for planet in planets:
result_list.append(planet.__dict__)

Choose a reason for hiding this comment

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

Neat use of the dict attribute! Depending on what we're calling it on, .__dict__ may send extra information that you don't want to share or isn't useful to a user of the API, so we would typically create our own dict so that we can control the exact data and its format that is returned.

app/__init__.py Outdated
from .routes.planet_routes import planets_bp

# from .models.planet import Planet
# from .routes.planet_routes import planets_bp

Choose a reason for hiding this comment

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

There is some commented code that could be cleaned up in this file.

@@ -1,25 +1,44 @@
# Coworking Agreement
.# Coworking Agreement

Choose a reason for hiding this comment

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

Thanks for filling this out ❤️ Even if what you listed out mostly stuff you're already doing, it can be really helpful to keep in mind and help make sure folks aren't relying on assumptions about how they will work together.

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