MCPcopy Create free account

hub / github.com/zopefoundation/zope.interface / functions

Functions1,810 in github.com/zopefoundation/zope.interface

↓ 115 callersMethodappend
Append item to end
src/zope/interface/common/sequence.py:146
↓ 112 callersMethod_makeOne
(self, name='test', *args, **kw)
src/zope/interface/tests/test_registry.py:28
↓ 78 callersFunctionimplementedBy
Return the interfaces implemented for a class' instances The value returned is an `~zope.interface.interfaces.IDeclaration`.
src/zope/interface/declarations.py:425
↓ 68 callersFunctionclassImplements
Declare additional interfaces implemented for instances of a class The arguments after the class are one or more interfaces or interface
src/zope/interface/declarations.py:539
↓ 54 callersFunctionprovidedBy
Return the interfaces provided by *ob*. If *ob* is a :class:`super` object, then only interfaces implemented by the remainder of the cla
src/zope/interface/declarations.py:1104
↓ 51 callersMethod_makeOne
(self, name='ITest', bases=(), attrs=None, __doc__=None, __module__=None)
src/zope/interface/tests/test_interface.py:715
↓ 48 callersMethodregisterUtility
(self, *args)
src/zope/interface/tests/test_registry.py:368
↓ 45 callersMethod_makeOne
(self, registry)
src/zope/interface/tests/test_adapter.py:1541
↓ 44 callersMethod_wrapEvents
(self)
src/zope/interface/tests/test_registry.py:31
↓ 39 callersMethod_makeOne
(self, component=None)
src/zope/interface/tests/test_registry.py:2934
↓ 39 callersMethod_makeOne
(self, name=None)
src/zope/interface/tests/test_interface.py:122
↓ 38 callersMethodsubscribe
(self, dependent)
src/zope/interface/interface.py:390
↓ 35 callersMethod_makeOne
(self, component=None, factory=None)
src/zope/interface/tests/test_registry.py:2730
↓ 35 callersMethod_makeRegistry
(self, *provided)
src/zope/interface/tests/test_adapter.py:1553
↓ 32 callersMethod_makeOne
(self)
src/zope/interface/tests/test_adapter.py:148
↓ 30 callersMethod_callFUT
(self, *args, **kw)
src/zope/interface/tests/test_declarations.py:548
↓ 30 callersMethodget
(self, _)
src/zope/interface/adapter.py:601
↓ 29 callersMethoditems
Return the items of the mapping object.
src/zope/interface/common/mapping.py:95
↓ 28 callersFunctiondirectlyProvides
Declare interfaces declared directly for an object The arguments after the object are one or more interfaces or interface specifications
src/zope/interface/declarations.py:837
↓ 28 callersMethodregister
(self, required, provided, name, value)
src/zope/interface/adapter.py:270
↓ 27 callersMethodextends
Does the specification extend the given interface? Test whether an interface in the specification extends the given interface
src/zope/interface/interface.py:528
↓ 27 callersMethodregisterAdapter
(self, factory, required=None, provided=None, name='', info='', event=True)
src/zope/interface/registry.py:312
↓ 26 callersMethod_makeOne
( self, uc_lookup=None, uc_lookupAll=None, uc_subscriptions=None, )
src/zope/interface/tests/test_adapter.py:958
↓ 26 callersMethodpop
pop(k[,default]) -> value Remove specified key and return the corresponding value. If key is not found, *default* is return
src/zope/interface/common/mapping.py:145
↓ 24 callersFunctionfromFunction
(func, interface=None, imlevel=0, name=None)
src/zope/interface/interface.py:1094
↓ 24 callersMethodget
Get a value for a key The default is returned if there is no value for the key.
src/zope/interface/common/mapping.py:54
↓ 22 callersMethod_callFUT
(self, iface, klass, **kwargs)
src/zope/interface/tests/test_verify.py:36
↓ 22 callersFunction_makeInterfaces
()
src/zope/interface/tests/test_adapter.py:24
↓ 22 callersMethod_makeOne
(self, *args, **kw)
src/zope/interface/tests/test_declarations.py:167
↓ 21 callersMethod_makeSubregistry
(self, *provided)
src/zope/interface/tests/test_adapter.py:1544
↓ 20 callersMethod_callFUT
(self, *args, **kw)
src/zope/interface/tests/test_declarations.py:2232
↓ 19 callersFunctionverifyObject
(iface, candidate, tentative=False)
src/zope/interface/verify.py:182
↓ 18 callersMethodgetName
Returns the name of the object.
src/zope/interface/interface.py:89
↓ 18 callersMethodsetTaggedValue
Associates 'value' with 'key'.
src/zope/interface/interface.py:120
↓ 17 callersMethodkeys
Return the keys of the mapping object.
src/zope/interface/common/mapping.py:83
↓ 17 callersMethodunsubscribe
(self, target)
src/zope/interface/tests/test_adapter.py:1614
↓ 16 callersMethod_getMappingType
(self)
src/zope/interface/tests/test_adapter.py:151
↓ 16 callersMethodget
Query for an attribute description
src/zope/interface/interface.py:543
↓ 15 callersMethodupdate
Update D from E: for k in E.keys(): D[k] = E[k]
src/zope/interface/common/mapping.py:139
↓ 14 callersMethod_getEmpty
(self)
src/zope/interface/tests/test_declarations.py:353
↓ 14 callersMethodimplementedBy
Test whether the interface is implemented by instances of the class Return true of the class asserts that its instances implement the
src/zope/interface/interfaces.py:201
↓ 14 callersMethodlookup
(*args)
src/zope/interface/tests/test_adapter.py:1906
↓ 14 callersMethodunregisterUtility
(self, component=None, provided=None, name='', factory=None)
src/zope/interface/registry.py:261
↓ 14 callersFunctionverifyClass
Verify that the *candidate* might correctly provide *iface*.
src/zope/interface/verify.py:175
↓ 13 callersMethod_makeOne
(self, bases=_marker)
src/zope/interface/tests/test_interface.py:546
↓ 13 callersMethodflattened
Return an iterator of all included and extended interfaces An iterator is returned for all interfaces either included in or extended
src/zope/interface/interfaces.py:427
↓ 13 callersMethodgetSignatureInfo
(self)
src/zope/interface/interface.py:1070
↓ 13 callersMethodlookup1
(self, required, provided, name='', default=None)
src/zope/interface/adapter.py:658
↓ 13 callersMethodnames
Get the interface attribute names Return a collection of the names of the attributes, including methods, included in the interface de
src/zope/interface/interfaces.py:353
↓ 13 callersFunctiontaggedValue
Attaches a tagged value to an interface at definition time.
src/zope/interface/interface.py:58
↓ 12 callersMethodgetTaggedValue
Returns the value associated with 'tag'.
src/zope/interface/interface.py:104
↓ 12 callersMethodregisterSubscriptionAdapter
(self, factory, required=None, provided=None,
src/zope/interface/registry.py:390
↓ 11 callersMethod_callFUT
(self, iface)
src/zope/interface/tests/test_document.py:22
↓ 11 callersMethod_callFUT
(self, iface)
src/zope/interface/tests/test_document.py:266
↓ 11 callersMethod_getTargetClass
(self)
src/zope/interface/tests/test_interface.py:711
↓ 11 callersMethodadapter_hook
(self, provided, object, name='', default=None)
src/zope/interface/adapter.py:674
↓ 11 callersMethodisOrExtends
Test whether the specification is or extends another
src/zope/interface/interfaces.py:209
↓ 11 callersMethodvalidateInvariants
Validate invariants Validate object to defined invariants. If errors is None, raises first Invalid error; if errors is a list, appen
src/zope/interface/interfaces.py:388
↓ 10 callersMethod_getProvidedType
(self)
src/zope/interface/tests/test_adapter.py:154
↓ 10 callersMethodlookupAll
(self, required, provided)
src/zope/interface/adapter.py:692
↓ 10 callersMethodregistered
(self, required, provided, name='')
src/zope/interface/adapter.py:327
↓ 9 callersMethod_callFUT
(self, ob, **kwargs)
src/zope/interface/tests/test_ro.py:236
↓ 9 callersMethod_callFUT
(self, *args, **kw)
src/zope/interface/tests/test_interface.py:2666
↓ 9 callersMethod_callFUT
(self, klasses)
src/zope/interface/tests/test_advice.py:172
↓ 9 callersMethod_getEmpty
(self)
src/zope/interface/tests/test_declarations.py:107
↓ 9 callersFunction_new_in_ver
(name, ver, bases_if_missing=(ABCMeta,), register_if_missing=())
src/zope/interface/common/collections.py:52
↓ 9 callersMethod_uncached_lookup
(self, required, provided, name='')
src/zope/interface/adapter.py:831
↓ 9 callersMethodnamesAndDescriptions
Get the interface attribute names and descriptions Return a collection of the names and descriptions of the attributes, including met
src/zope/interface/interfaces.py:364
↓ 9 callersMethodqueryMultiAdapter
(self, objects, interface, name='', default=None)
src/zope/interface/registry.py:371
↓ 9 callersMethodregisterHandler
(self, factory, required=None, name='', info='',
src/zope/interface/registry.py:460
↓ 9 callersMethodsetdefault
D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D
src/zope/interface/common/mapping.py:142
↓ 9 callersMethodsubscriptions
(self, required, provided)
src/zope/interface/adapter.py:706
↓ 8 callersFunctionProvides
Declaration for an instance of *cls*. The correct signature is ``cls, *interfaces``. The *cls* is necessary to avoid the constru
src/zope/interface/declarations.py:816
↓ 8 callersMethod_callFUT
(self, *args, **kw)
src/zope/interface/tests/test_declarations.py:2103
↓ 8 callersMethod_getLeafSequenceType
(self)
src/zope/interface/tests/test_adapter.py:160
↓ 8 callersFunction_get_module
src/zope/interface/_zope_interface_coptimizations.c:2314
↓ 8 callersFunction_justify_and_indent
indent and justify text, rejustify (munge) if specified
src/zope/interface/document.py:111
↓ 8 callersMethodgetDescriptionFor
Return the attribute description for the given name.
src/zope/interface/interface.py:878
↓ 8 callersMethodgetDoc
Returns the documentation for the object.
src/zope/interface/interface.py:93
↓ 8 callersFunctioninvariant
(call)
src/zope/interface/interface.py:50
↓ 8 callersFunctionnotify
(*arg, **kw)
src/zope/interface/registry.py:22
↓ 8 callersMethodunregister
(self, required, provided, name, value=None)
src/zope/interface/adapter.py:376
↓ 8 callersMethodverify
(self, iface, klass, **kwargs)
src/zope/interface/common/tests/__init__.py:117
↓ 7 callersFunction_convert_None_to_Interface
(x)
src/zope/interface/adapter.py:986
↓ 7 callersMethod_errorsEqual
(self, has_invariant, error_len, error_msgs, iface)
src/zope/interface/tests/test_interface.py:1982
↓ 7 callersMethod_getTargetClass
(self)
src/zope/interface/tests/test_declarations.py:2015
↓ 7 callersMethod_uncached_subscriptions
(self, required, provided)
src/zope/interface/adapter.py:888
↓ 7 callersMethodchanged
(self, originally_changed)
src/zope/interface/tests/test_interface.py:2858
↓ 7 callersMethodclear
delete all items
src/zope/interface/common/mapping.py:136
↓ 7 callersMethodextend
Extend list by appending elements from the iterable
src/zope/interface/common/sequence.py:164
↓ 7 callersMethodgetSignatureString
(self)
src/zope/interface/interface.py:1078
↓ 7 callersMethodgetTaggedValueTags
Returns a collection of all tags.
src/zope/interface/interface.py:116
↓ 7 callersMethodqueryDirectTaggedValue
As for `queryTaggedValue`, but never includes inheritance. .. versionadded:: 5.0.0
src/zope/interface/interfaces.py:137
↓ 7 callersMethodregisteredUtilities
(self)
src/zope/interface/registry.py:292
↓ 6 callersMethod_callFUT
(self, ob, **kwargs)
src/zope/interface/tests/test_ro.py:103
↓ 6 callersMethod_check_basic_types_of_subscribers
(self, registry, expected_order=2)
src/zope/interface/tests/test_adapter.py:203
↓ 6 callersMethod_compare
Compare *self* to *other* based on ``__name__`` and ``__module__``. Return 0 if they are equal, return 1 if *self* is greate
src/zope/interface/interface.py:196
↓ 6 callersFunction_getAdapterRequired
(factory, required)
src/zope/interface/registry.py:613
↓ 6 callersMethod_getMutableListType
(self)
src/zope/interface/tests/test_adapter.py:157
↓ 6 callersMethod_makeOne
(self, *args, **kw)
src/zope/interface/tests/test_declarations.py:1353
next →1–100 of 1,810, ranked by callers