def scope_options(scope: Scope, options: _Options) -> ScopedOptions: return ScopedOptions(scope, options.options.for_scope(scope.scope))
def scope_options(scope, options): return ScopedOptions(scope, options.options.for_scope(scope.scope))