CityofSantaMonica / mds-provider

Python tools for working with MDS Provider data
https://github.com/openmobilityfoundation/mobility-data-specification
MIT License
18 stars 20 forks source link

Delay acquiring schema documents from GitHub #96

Closed thekaveman closed 4 years ago

thekaveman commented 4 years ago

mds.Schema instances may be useful on their own, without an underlying schema document from GitHub.

This change introduces a delay to acquire the schema document from GitHub only when it is first needed (e.g. property access).

Early acquisition can be forced with keyword arg on init.

thekaveman commented 4 years ago

Superseded by #97.