SwiftclassMorpheus
class Morpheus.PyFunction
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolMorpheus.PyObject
Members 4
- deinit
deinit - init
Morpheus.PyFunction.__allocating_init(name: String, arguments: Morpheus.Arguments, attrs: [String : Any], body: (([String : Any]) throws -> Any?)?) -> Morpheus.PyFunction - init
Morpheus.PyFunction.__allocating_init(name: String, arguments: Morpheus.Arguments, attrs: [String : Any], body: (([String : Any]) async throws -> Any?)?) -> Morpheus.PyFunction - var
var __class__: Morpheus.PyClass { get }
Header
class PyFunction: Morpheus.Function { override init(name: Swift.String, arguments: Morpheus.Arguments, attrs: [Swift.String : Any], body: ((_: [Swift.String : Any]) async throws -> Any?)?) override init(name: Swift.String, arguments: Morpheus.Arguments, attrs: [Swift.String : Any], body: ((_: [Swift.String : Any]) throws -> Any?)?) var __class__: any Morpheus.PyClass { get } deinit }