soleil.special.resolved#

Classes

ResolvedResolver(resolvable)

resolved(resolvable)

Returns an object that will resolve to the resolution of the input resolvable but that can be accessed (i.e., attributes and subscripts accessed) as if the object were already resolved.

class soleil.special.resolved.resolved(resolvable)#

Bases: RefSeq

Returns an object that will resolve to the resolution of the input resolvable but that can be accessed (i.e., attributes and subscripts accessed) as if the object were already resolved. Note that each reference will return a new resolvable of type resolved and not the actual attribute or entry.

class fl:
    type:as_type = file
    args:as_args = ('/tmp/my_file',)

mode = resolved(fl).mode
class soleil.special.resolved.ResolvedResolver(resolvable)#

Bases: TypeResolver

handled_type#

alias of resolved