πŸ’» Week 03 Lab

Building APIs with FastAPI (Part II)

Author
Published

02 February 2025

πŸ₯… Learning Goals
The goal of this lab is to further practice the development of APIs with FastAPI. Use this time to make progress with the πŸ“ W02-W03 Formative Exercise.
Image created with the AI embedded in MS Designer using the prompt 'abstract green and blue icon depicting the advanced stages of data wrangling, API design, and scalable pipelines for sustainability-focused data engineering.'

Last Updated: 2 February 13:30

πŸ“‹ Preparation

To come prepared to this lab, make sure you have done the following:

  1. You have set up your development environment just as specified last week.

  2. You have attended both the πŸ—£οΈWeek 02 Lecture (REST APIs and Introduction to FastAPI) and the πŸ—£οΈWeek 03 Lecture (Data Validation with Pydantic Models).

  3. You have attempted the πŸ“ W02-W03 Formative Exercise and have questions to ask your class teacher about it.

πŸ›£οΈ Lab Roadmap (90-min)

Note to class teachers: You are free to judge what you find most productive and appropriate for your sessions. You can either act as a support or structure blocks of time to share your screen and guide the students through the process with snippets of code or advices (such as how to test the Python functions before adding them to the FastAPI endpoint).

This lab is a 🦸🏻 SUPER TECH SUPPORT session.

Use the time to practice writing the necessary Python code to write the FastAPI endpoint specified in the πŸ“ W02-W03 Formative Exercise and ask questions to your class teacher about it.