ApplicationΒΆ
The snow.Application
expects a configuration dictionary that conforms to the Application Configuration Schema.
Once created, an interface for producing Resource
models is provided.
from snow.resource import Application
config = dict(
address="https://my-instance.service-now.com",
basic_auth=("<username>", "<password>")
)
app = Application(config)
async with app.resource(Incident) as r:
[do stuff]