LACMTA / metro-api-v2

Docs: https://lacmta.github.io/metro-api-v2/ Dev: https://dev-metro-api-v2.ofhq3vd1r7une.us-west-2.cs.amazonlightsail.com/docs
https://api.metro.net/docs
0 stars 3 forks source link

Refactor get_route_details function to use JSON deserialization for geometries #533

Closed albertkun closed 3 months ago

albertkun commented 3 months ago

This pull request refactors the get_route_details function in crud.py to use JSON deserialization for geometries. This improves the efficiency and readability of the code.