diff --git a/sc_crawler/schemas.py b/sc_crawler/schemas.py index c916a3dd..318fda11 100644 --- a/sc_crawler/schemas.py +++ b/sc_crawler/schemas.py @@ -51,11 +51,12 @@ class Vendor(SQLModel, table=True): """Base class for cloud compute resource vendors. Examples: - >>> from sc_crawler import Location, Vendor, vendors - >>> aws_loc = Location(country='US', city='Seattle', address_line1='410 Terry Ave N') - >>> aws = Vendor(identifier='aws', name='Amazon Web Services', homepage='https://aws.amazon.com', location=aws_loc, founding_year=2002) + >>> from sc_crawler.schemas import Vendor + >>> from sc_crawler.lookup import countries + >>> aws = Vendor(id='aws', name='Amazon Web Services', homepage='https://aws.amazon.com', country=countries["US"], founding_year=2002) >>> aws Vendor(identifier='aws'... + >>> from sc_crawler import vendors >>> vendors.aws Vendor(identifier='aws'... """ # noqa: E501