SwiftinitMorpheusMorpheus.PyFunction
init
Morpheus.PyFunction.__allocating_init(name: String, arguments: Morpheus.Arguments, attrs: [String : Any], body: (([String : Any]) throws -> Any?)?) -> Morpheus.PyFunction
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0name:structSwift.String
- 1arguments:structMorpheus.Arguments
- 2attrs:structSwift.Dictionary
- argexistential
Any
- 3body:enumSwift.Optional
- argfunction
([String : Any]) throws -> Any?escapingthrows- argexistential
Any
- argexistential
Any
result{}
classMorpheus.PyFunction