transition-zero / tz-client

A client repository for accessing FEO data programmatically.
https://docs.feo.transitionzero.org
Apache License 2.0
21 stars 4 forks source link

feat: :sparkles: Override __str__ method for all top-level classes #85

Closed joconnor-ecaa closed 9 months ago

joconnor-ecaa commented 9 months ago

Description

Instead of printing all attributes of a class, we now show

ClassName: self.name (id=self.id), e.g. Node: Germany (id=DEU)

Note that I've also caught a couple of other things here: some missing tests and missing id properties.

Checklist

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
feo-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 29, 2023 4:28pm