MCPcopy Create free account

hub / github.com/twisted/twisted / functions

Functions25,749 in github.com/twisted/twisted

↓ 11 callersMethodsetComponent
Cache a provider of the given interface.
src/twisted/python/components.py:213
↓ 11 callersMethodsetResponseCode
Set the HTTP status response code, but takes care that this is called before any data is written.
src/twisted/web/test/requesthelper.py:359
↓ 11 callersMethodstatistics
Gather information on the current status of this L{Team}. @return: a L{Statistics} describing the current state of this L{Team}.
src/twisted/_threads/_team.py:109
↓ 11 callersMethodstopReading
Compatibility only, don't use. Call pauseProducing.
src/twisted/internet/_posixstdio.py:168
↓ 11 callersMethodtoResponse
Construct error response stanza. The C{stanza} is transformed into an error response stanza by swapping the C{to} and C{from
src/twisted/words/protocols/jabber/error.py:203
↓ 11 callersFunctiontoSegments
Normalize a path, as represented by a list of strings each representing one segment of the path.
src/twisted/protocols/ftp.py:204
↓ 11 callersMethodtouch
Updates the access and last modification times of the file at this file path to the current time. Also creates the file if it does no
src/twisted/python/filepath.py:1447
↓ 11 callersMethodverifyHostKey
(self, key, fp)
src/twisted/conch/test/test_ssh.py:445
↓ 11 callersFunctionw
(s)
src/twisted/web/microdom.py:84
↓ 11 callersMethodwait
(self, request, tag)
docs/web/howto/listings/wait_for_it.py:23
↓ 11 callersMethodwalk
Yield myself, then each of my children, and each of those children's children in turn. The optional argument C{descend} is a
src/twisted/python/filepath.py:468
↓ 11 callersMethodwarn
Notify the user (non-interactively) of the provided text, by writing it to the console. @param text: Some information the us
src/twisted/conch/client/knownhosts.py:607
↓ 11 callersMethodwrite
(self, *a, **kw)
src/twisted/trial/reporter.py:79
↓ 10 callersMethod_assertBuffer
(self, lines)
src/twisted/conch/test/test_recvline.py:473
↓ 10 callersMethod_path
(self, path)
src/twisted/protocols/ftp.py:2029
↓ 10 callersFunction_prepareMailboxName
(name)
src/twisted/mail/imap4.py:4844
↓ 10 callersMethod_removeAll
Remove all readers and writers, and list of removed L{IReadDescriptor}s and L{IWriteDescriptor}s. Meant for calling from sub
src/twisted/internet/posixbase.py:412
↓ 10 callersMethod_serverTestImpl
(self, code, msg, func, **kw)
src/twisted/words/test/test_irc.py:1120
↓ 10 callersMethod_simpleCommandTest
(self, cmdName)
src/twisted/conch/test/test_telnet.py:166
↓ 10 callersMethodabortConnection
Aborts the connection immediately, dropping any buffered data. @since: 11.1
src/twisted/internet/tcp.py:197
↓ 10 callersMethodaddSkip
(self, test, skip)
src/twisted/trial/test/test_reporter.py:1399
↓ 10 callersMethodappend
()
src/twisted/mail/test/test_mail.py:471
↓ 10 callersMethodassertNotIn
( # type: ignore[override] self, container: str, containee: str, *args: object, **kwargs: object
src/twisted/trial/test/test_output.py:62
↓ 10 callersMethodbeginLoggingTo
Begin logging to the given set of observers. This will: 1. Add all the observers given in C{observers} to the L{
src/twisted/logger/_global.py:114
↓ 10 callersMethodbuildProtocol
( self, addr: IAddress | None )
src/twisted/web/http.py:3429
↓ 10 callersMethodcallLater
Wrapper around L{reactor.callLater<twisted.internet.interfaces.IReactorTime.callLater>} for test purpose.
src/twisted/protocols/policies.py:638
↓ 10 callersMethodcancel
Cancel this L{DeferredList}. If the L{DeferredList} hasn't fired yet, cancel every L{Deferred} in the list. If the
src/twisted/internet/defer.py:1566
↓ 10 callersMethodchainDeferred
Chain another L{Deferred} to this L{Deferred}. This method adds callbacks to this L{Deferred} to call C{d}'s callback or err
src/twisted/internet/defer.py:831
↓ 10 callersMethodcheck
Make sure that the internal buffer equals a specified value. @param s: the value to compare against buffer @type s: L{bytes}
src/twisted/words/test/test_irc.py:1513
↓ 10 callersMethodcheck
Tell the server to perform a checkpoint This command is allowed in the Selected state. @rtype: L{Deferred} @return:
src/twisted/mail/imap4.py:3514
↓ 10 callersMethodclearBuffer
Clear any buffered data received from stdout. Should be private.
src/twisted/conch/test/test_cftp.py:789
↓ 10 callersMethodclose
(self)
src/twisted/conch/ssh/filetransfer.py:905
↓ 10 callersMethodclose
Close the file.
src/twisted/web/http.py:3307
↓ 10 callersMethodcopyTo
Copy the contents of this dirdbm to the dirdbm at C{path}. @param path: The path of the dirdbm to copy to. If a dirdbm exis
src/twisted/persisted/dirdbm.py:266
↓ 10 callersMethodcreate
Create and return a new L{SSHCommandClientEndpoint} to be tested. Override this to implement creation in an interesting way the endpo
src/twisted/conch/test/test_endpoints.py:305
↓ 10 callersMethodcurrentLineBuffer
(self)
src/twisted/conch/recvline.py:400
↓ 10 callersMethoddataReceived
Either parse incoming data as L{AmpBox}es or relay it to our nested protocol.
src/twisted/protocols/amp.py:2362
↓ 10 callersFunctiondeprecated
Return a decorator that marks callables as deprecated. To deprecate a property, see L{deprecatedProperty}. @type version: L{incremental.
src/twisted/python/deprecate.py:273
↓ 10 callersMethoddo
(self, option)
src/twisted/conch/telnet.py:503
↓ 10 callersMethoddoStart
Make sure startFactory is called. Users should not call this function themselves!
src/twisted/internet/protocol.py:105
↓ 10 callersFunctionexit
Exit the python interpreter with the given status and an optional message. @param status: An exit status. An appropriate value from L{ExitSt
src/twisted/application/runner/_exit.py:84
↓ 10 callersMethodfinishConnection
Do any remaining work necessary to complete an in-memory connection attempted initiated using C{self.reactor}.
src/twisted/conch/test/test_endpoints.py:330
↓ 10 callersMethodfromEnvironment
@param environ: A dictionary-like object to inspect to discover inherited descriptors. By default, L{None}, indicating that the
src/twisted/python/systemd.py:48
↓ 10 callersMethodfromStr
Decode a byte string in the format described by RFC 1035 into this L{Message}. @param str: L{bytes}
src/twisted/names/dns.py:2883
↓ 10 callersMethodfromStr
Fake fromStr method which raises the arguments it was passed. @param args: positional arguments @par
src/twisted/names/test/test_dns.py:4231
↓ 10 callersMethodgetAttrs
(self)
src/twisted/conch/test/test_cftp.py:369
↓ 10 callersMethodgetChild
(self, path: bytes, request: IRequest)
src/twisted/web/test/test_resource.py:139
↓ 10 callersMethodgetContent
(self)
src/twisted/internet/test/test_endpoints.py:4214
↓ 10 callersMethodgetDelayedCalls
See L{twisted.internet.interfaces.IReactorTime.getDelayedCalls}
src/twisted/internet/task.py:806
↓ 10 callersMethodgetErrors
Return a list of errors caught by this observer.
src/twisted/trial/_synctest.py:890
↓ 10 callersMethodgetSubject
Retrieve the subject of this certificate. @return: A copy of the subject of this certificate. @rtype: L{DistinguishedName}
src/twisted/internet/_sslverify.py:266
↓ 10 callersMethodgetTracebackObject
Get an object that represents this Failure's stack that can be passed to traceback.extract_tb. If the original traceback obj
src/twisted/python/failure.py:545
↓ 10 callersMethodgetpass
(prompt)
src/twisted/conch/test/test_default.py:212
↓ 10 callersMethodhasChildNodes
(self)
src/twisted/web/microdom.py:211
↓ 10 callersMethodhasHostKey
Check for an entry with matching hostname and key. @param hostname: A hostname or IP address literal to check for. @param k
src/twisted/conch/client/knownhosts.py:406
↓ 10 callersMethodindex
(self)
src/twisted/conch/insults/helper.py:249
↓ 10 callersMethodinheritedDescriptors
@return: The configured descriptors.
src/twisted/python/systemd.py:93
↓ 10 callersMethodinstall
()
src/twisted/test/test_application.py:750
↓ 10 callersMethodlegacyEvent
Return a basic old-style event as would be created by L{legacyLog.msg}. @param message: a message event value in the legacy event fo
src/twisted/logger/test/test_legacy.py:288
↓ 10 callersMethodlist
Send a LIST command to retrieve the size of a message or, if no message is specified, the sizes of all messages. @type i: L{
src/twisted/mail/pop3.py:1636
↓ 10 callersMethodloadClass
Given a class which contains test cases, return a list of L{TestCase}s. @param klass: The class to load tests from.
src/twisted/trial/runner.py:529
↓ 10 callersMethodlookupIPV6Address
Read any IPv6 addresses from C{self.file} and return them as L{Record_AAAA} instances.
src/twisted/names/hosts.py:139
↓ 10 callersFunctionloopbackAsync
Establish a connection between C{server} and C{client} then transfer data between them until the connection is closed. This is often useful f
src/twisted/protocols/loopback.py:139
↓ 10 callersMethodmakeFlattenerError
(self, roots: list[object] = [])
src/twisted/web/test/test_error.py:275
↓ 10 callersMethodmakeService
(self)
src/twisted/application/service.py:80
↓ 10 callersFunctionmktime
Call L{mktime_real}, and if it raises L{OverflowError}, catch it and raise SkipTest instead. @param t9: A time as a 9-item tuple. @t
src/twisted/python/test/test_tzhelper.py:31
↓ 10 callersFunctionpassivemode_msg
Construct a passive mode message with the correct encoding @param protocol: the FTP protocol from which to base the encoding @param host
src/twisted/test/test_ftp.py:104
↓ 10 callersMethodproxy
Return a new xmlrpc.Proxy for the test site created in setUp(), using the given factory as the queryFactory, or self.queryFac
src/twisted/web/test/test_xmlrpc.py:312
↓ 10 callersFunctionpublishToNewObserver
Publish an old-style (L{twisted.python.log}) event to a new-style (L{twisted.logger}) observer. @note: It's possible that a new-style ev
src/twisted/logger/_legacy.py:95
↓ 10 callersMethodraisesException
(self, exception=None)
src/twisted/trial/test/test_assertions.py:1218
↓ 10 callersMethodregisterChecker
(self, checker, *credentialInterfaces)
src/twisted/conch/checkers.py:321
↓ 10 callersMethodregisterProducer
From abstract.FileDescriptor
src/twisted/test/iosim.py:127
↓ 10 callersMethodremoveTrigger
Remove a trigger by its handle from the reactor and from C{self.triggers}.
src/twisted/test/test_internet.py:368
↓ 10 callersMethodresolve
Map this alias to its ultimate destination. @type aliasmap: L{dict} mapping L{bytes} to L{AliasBase} @param aliasmap: A mapp
src/twisted/mail/alias.py:153
↓ 10 callersFunctionrun
()
src/twisted/scripts/trial.py:668
↓ 10 callersMethodrun
()
src/twisted/internet/test/test_defer_await.py:48
↓ 10 callersMethodrunAsync
Spawn local worker processes and load tests. After that, run them. @param suite: A test or suite to be run. @param untilFai
src/twisted/trial/_dist/disttrial.py:369
↓ 10 callersMethodrunCommand
Run the given command with the cftp client. Return a C{Deferred} that fires when the command is complete. Payload is the server's out
src/twisted/conch/test/test_cftp.py:990
↓ 10 callersMethodrun_PASS
Test a login with PASS. If L{real_user} matches L{tried_user} and L{real_password} matches L{tried_password}, a successful l
src/twisted/mail/test/test_pop3.py:608
↓ 10 callersMethodsendHello
(self, text)
src/twisted/test/test_amp.py:92
↓ 10 callersMethodsendPacket
(self, kind, data)
src/twisted/conch/ssh/filetransfer.py:33
↓ 10 callersFunctionsendmsg
Send a message on a socket. @param socket: The socket to send the message on. @param data: Bytes to write to the socket. @param anci
src/twisted/python/sendmsg.py:19
↓ 10 callersMethodsetHandlerParent
Set the parent of the handler. @type parent: L{IXMPPHandlerCollection}
src/twisted/words/protocols/jabber/ijabber.py:67
↓ 10 callersMethodsetLastModified
Set the C{Last-Modified} time for the response to this request. If I am called more than once, I ignore attempts to set Last
src/twisted/web/http.py:1480
↓ 10 callersMethodsetupEnvironment
(self, chroot, rundir, nodaemon, umask, pidfile)
src/twisted/test/test_twistd.py:567
↓ 10 callersMethodsetupStreamingProducer
Create a new client-side protocol that is connected to a remote TLS server. @param serverMethod: The TLS method accepted by the serv
src/twisted/protocols/test/test_tls.py:1156
↓ 10 callersMethodstart
Start running function every interval seconds. @param interval: The number of seconds between calls. May be less than one.
src/twisted/internet/task.py:168
↓ 10 callersMethodstartListening
Create and bind my socket, and begin listening on it. This is called on unserialization, and must be called after creating a
src/twisted/internet/udp.py:178
↓ 10 callersMethodstartServer
(self, cgi)
src/twisted/web/test/test_cgi.py:103
↓ 10 callersMethodstartTLS
Initiates a 'STARTTLS' request and negotiates the TLS / SSL Handshake. @param contextFactory: The TLS / SSL Context Factory
src/twisted/mail/imap4.py:2816
↓ 10 callersFunctiontextFromEventDict
Extract text from an event dict passed to a log observer. If it cannot handle the dict, it returns None. The possible keys of eventDict
src/twisted/python/log.py:402
↓ 10 callersMethodunlink
Override C{os.unlink}. Save the action. @param filename: The file name to remove.
src/twisted/test/test_process.py:1596
↓ 10 callersMethodunregisterProducer
(self)
src/twisted/web/test/requesthelper.py:139
↓ 10 callersMethodwrite
Fake C{os.write}. Save action.
src/twisted/test/test_process.py:1389
↓ 10 callersMethodwriteSequence
(self, iovec)
src/twisted/test/iosim.py:143
↓ 9 callersFunctionMP
(number: int)
src/twisted/conch/ssh/common.py:44
↓ 9 callersMethod__init__
(self, name, allowNone=1, shortDesc=None, longDesc=None, hints=None)
src/twisted/python/formmethod.py:324
↓ 9 callersMethod_description
(self, optName)
src/twisted/python/usage.py:598
↓ 9 callersMethod_download
Download file. @param command: command to run @param chainDeferred: L{Deferred} used to queue commands. @return: L{D
src/twisted/test/test_ftp.py:1108
↓ 9 callersFunction_getFileActions
Get the C{file_actions} parameter for C{posix_spawn} based on the parameters describing the current process state. @param fdState: A lis
src/twisted/internet/process.py:637
← previousnext →701–800 of 25,749, ranked by callers