from_defaults is what's called a classmethod in python. This means the function can be used before an object of that class is instansiated
In this case, it sets up a bunch of default settings, and returns an instansiated service context object. This way, you can modify a few defaults, and not have to worry about setting every kwarg