Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`trial`.`_dist`.`managercommands`.`AddUnexpectedSuccess``

class documentation

`class AddUnexpectedSuccess(Command): (source)`

View In Hierarchy

Add an unexpected success.

Class Variable | `arguments` | Undocumented
Class Variable | `response` | Undocumented

Inherited from `Command`:

Class Method | `makeArguments` | Serialize a mapping of arguments using this `Command`'s argument schema.
Class Method | `makeResponse` | Serialize a mapping of arguments using this `Command`'s response schema.
Class Method | `parseArguments` | Parse a mapping of serialized arguments using this `Command`'s argument schema.
Class Method | `parseResponse` | Parse a mapping of serialized arguments using this `Command`'s response schema.
Class Method | `responder` | Declare a method to be a responder for a particular command.
Method | `__init__` | Create an instance of this command with specified values for its parameters.
Class Variable | `commandType` | The type of Box used to issue commands; useful only for protocol-modifying behavior like startTLS or protocol switching. Defaults to a plain vanilla `Box`.
Class Variable | `errors` | A mapping of subclasses of `Exception` to wire-protocol tags for errors represented as `str`s. Responders which raise keys from this dictionary will have the error translated to the corresponding tag on the wire...
Class Variable | `extra` | Undocumented
Class Variable | `fatalErrors` | like 'errors', but errors in this list will always terminate the connection, despite being of a recognizable error type.
Class Variable | `responseType` | The type of Box used to respond to this command; only useful for protocol-modifying behavior like startTLS or protocol switching. Defaults to a plain vanilla `Box`.
Instance Variable | `requiresAnswer` | a boolean; defaults to True. Set it to False on your subclass if you want callRemote to return None. Note: this is a hint only to the client side of the protocol. The return-type of a command responder method must always be a dictionary adhering to the contract specified by ...
Instance Variable | `structured` | Undocumented
Method | `_doCommand` | Encode and send this Command to the given protocol.

arguments = (source)
overrides `twisted.protocols.amp.Command.arguments`

Undocumented

response = (source)
overrides `twisted.protocols.amp.Command.response`

Undocumented