basedpyright 1.28.3 → 1.28.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_hashlib.pyi +15 -2
- package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +7 -4
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +2 -178
- package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/builtins.pyi +51 -33
- package/dist/typeshed-fallback/stdlib/configparser.pyi +61 -42
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/distutils/cmd.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/distutils/dist.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/distutils/fancy_getopt.pyi +15 -5
- package/dist/typeshed-fallback/stdlib/functools.pyi +18 -13
- package/dist/typeshed-fallback/stdlib/getopt.pyi +15 -3
- package/dist/typeshed-fallback/stdlib/hashlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/heapq.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/hmac.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/http/server.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/importlib/readers.pyi +11 -7
- package/dist/typeshed-fallback/stdlib/inspect.pyi +10 -10
- package/dist/typeshed-fallback/stdlib/logging/config.pyi +6 -1
- package/dist/typeshed-fallback/stdlib/math.pyi +33 -3
- package/dist/typeshed-fallback/stdlib/multiprocessing/connection.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/pathlib.pyi +13 -9
- package/dist/typeshed-fallback/stdlib/pkgutil.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -5
- package/dist/typeshed-fallback/stdlib/socketserver.pyi +8 -8
- package/dist/typeshed-fallback/stdlib/statistics.pyi +14 -15
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +181 -162
- package/dist/typeshed-fallback/stdlib/types.pyi +27 -4
- package/dist/typeshed-fallback/stdlib/typing.pyi +10 -7
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +95 -48
- package/dist/typeshed-fallback/stdlib/unittest/case.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/xml/dom/NodeFilter.pyi +7 -4
- package/dist/typeshed-fallback/stdlib/xml/dom/__init__.pyi +84 -53
- package/dist/typeshed-fallback/stdlib/xml/dom/expatbuilder.pyi +66 -45
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +524 -193
- package/dist/typeshed-fallback/stdlib/xml/dom/pulldom.pyi +70 -55
- package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +20 -49
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementInclude.pyi +13 -10
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementPath.pyi +19 -12
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +83 -41
- package/dist/typeshed-fallback/stdlib/xml/sax/_exceptions.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -24
- package/dist/typeshed-fallback/stdlib/xml/sax/handler.pyi +48 -17
- package/dist/typeshed-fallback/stdlib/xml/sax/saxutils.pyi +24 -16
- package/dist/typeshed-fallback/stdlib/xml/sax/xmlreader.pyi +59 -56
- package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stdlib/zipfile/_path/__init__.pyi +32 -52
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/classic.pyi +6 -1
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/sphinx.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Pygments/pygments/plugin.pyi +11 -3
- package/dist/typeshed-fallback/stubs/RPi.GPIO/RPi/GPIO/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/WTForms/wtforms/validators.pyi +13 -5
- package/dist/typeshed-fallback/stubs/WebOb/webob/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/_types.pyi +21 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/acceptparse.pyi +496 -285
- package/dist/typeshed-fallback/stubs/WebOb/webob/byterange.pyi +2 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/cachecontrol.pyi +75 -75
- package/dist/typeshed-fallback/stubs/WebOb/webob/client.pyi +2 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/compat.pyi +24 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +39 -34
- package/dist/typeshed-fallback/stubs/WebOb/webob/datetime_utils.pyi +16 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/dec.pyi +40 -40
- package/dist/typeshed-fallback/stubs/WebOb/webob/descriptors.pyi +23 -34
- package/dist/typeshed-fallback/stubs/WebOb/webob/etag.pyi +11 -18
- package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +70 -7
- package/dist/typeshed-fallback/stubs/WebOb/webob/headers.pyi +20 -2
- package/dist/typeshed-fallback/stubs/WebOb/webob/multidict.pyi +97 -31
- package/dist/typeshed-fallback/stubs/WebOb/webob/request.pyi +70 -79
- package/dist/typeshed-fallback/stubs/WebOb/webob/response.pyi +62 -62
- package/dist/typeshed-fallback/stubs/WebOb/webob/static.pyi +12 -9
- package/dist/typeshed-fallback/stubs/WebOb/webob/util.pyi +2 -5
- package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/boltons/boltons/dictutils.pyi +1 -3
- package/dist/typeshed-fallback/stubs/boltons/boltons/tbutils.pyi +13 -13
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/braintree_gateway.pyi +2 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +40 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_payment_resource.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_payment_resource_gateway.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +1 -0
- package/dist/typeshed-fallback/stubs/cffi/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +8 -8
- package/dist/typeshed-fallback/stubs/cffi/cffi/recompiler.pyi +1 -0
- package/dist/typeshed-fallback/stubs/corus/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/dirhash/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/dirhash/dirhash/__init__.pyi +93 -0
- package/dist/typeshed-fallback/stubs/dirhash/dirhash/cli.pyi +5 -0
- package/dist/typeshed-fallback/stubs/fanstatic/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/registry.pyi +8 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +2 -8
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/io/sql.pyi +0 -3
- package/dist/typeshed-fallback/stubs/gevent/gevent/hub.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecext.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecffi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libuv/loop.pyi +1 -1
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/METADATA.toml +0 -1
- package/dist/typeshed-fallback/stubs/greenlet/greenlet/_greenlet.pyi +5 -1
- package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/hnswlib/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hnswlib/hnswlib.pyi +8 -6
- package/dist/typeshed-fallback/stubs/humanfriendly/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +6 -6
- package/dist/typeshed-fallback/stubs/mock/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/mock/mock/backports.pyi +6 -1
- package/dist/typeshed-fallback/stubs/mock/mock/mock.pyi +1 -1
- package/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/_mysql.pyi +32 -32
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clique.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clustering_coefficient.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/connectivity.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/distance_measures.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/dominating_set.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/kcomponents.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/matching.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/maxcut.pyi +8 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/ramsey.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/steinertree.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +33 -23
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/vertex_cover.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/connectivity.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/correlation.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/mixing.pyi +16 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/neighbor_degree.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/pairs.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/basic.pyi +8 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/centrality.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/covering.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/edgelist.pyi +13 -12
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/extendability.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/generators.pyi +22 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matching.pyi +11 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matrix.pyi +9 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/projection.pyi +9 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/redundancy.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/spectral.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/boundary.pyi +53 -58
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bridges.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness_subset.pyi +10 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +7 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness.pyi +9 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness_subset.pyi +16 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_closeness.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/eigenvector.pyi +10 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/flow_matrix.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/group.pyi +16 -12
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/harmonic.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/katz.pyi +15 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/laplacian.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/load.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/percolation.pyi +6 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/reaching.pyi +9 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/second_order.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/subgraph_alg.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/trophic.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/voterank_alg.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/chordal.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +9 -14
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cluster.pyi +10 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +2 -20
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/communicability_alg.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/asyn_fluid.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/centrality.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/community_utils.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kclique.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kernighan_lin.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/label_propagation.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/louvain.pyi +13 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/modularity_max.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/biconnected.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/connected.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/semiconnected.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/strongly_connected.pyi +5 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/weakly_connected.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/connectivity.pyi +29 -23
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/cuts.pyi +21 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/disjoint_paths.pyi +17 -16
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcutsets.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/stoerwagner.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/core.pyi +9 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/covering.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cuts.pyi +10 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cycles.pyi +9 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +13 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +8 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_regular.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominance.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/efficiency_measures.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/euler.pyi +8 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/boykovkolmogorov.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/capacityscaling.pyi +4 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/dinitz_alg.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/edmondskarp.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/gomory_hu.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/maxflow.pyi +34 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/mincost.pyi +7 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/networksimplex.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/preflowpush.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/shortestaugmentingpath.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/utils.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/graph_hashing.pyi +12 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/graphical.pyi +9 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/hierarchy.pyi +1 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/hybrid.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isolate.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/ismags.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +11 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorphvf2.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/temporalisomorphvf2.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/vf2pp.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/vf2userfunc.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/hits_alg.pyi +9 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/pagerank_alg.pyi +16 -14
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_prediction.pyi +9 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/lowest_common_ancestors.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/matching.pyi +7 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +10 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/mis.pyi +6 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/moral.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/node_classification.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/non_randomness.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/all.pyi +7 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/binary.pyi +11 -11
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/product.pyi +14 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/unary.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/polynomials.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/reciprocity.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/regular.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/richclub.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/astar.pyi +22 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/dense.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/generic.pyi +33 -11
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/unweighted.pyi +9 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/weighted.pyi +116 -30
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +69 -55
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/simple_paths.pyi +11 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/smallworld.pyi +6 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/smetric.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/sparsifiers.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/summarization.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/swap.pyi +8 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/time_dependent.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +8 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/beamsearch.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/breadth_first_search.pyi +16 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/depth_first_search.pyi +20 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +13 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/coding.pyi +8 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +22 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/operations.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/recognition.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +11 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/vitality.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/voronoi.pyi +10 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/walks.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/wiener.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/coreviews.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multigraph.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +39 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/time_series.pyi +4 -0
- package/dist/typeshed-fallback/stubs/passlib/passlib/hosts.pyi +3 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +19 -19
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +6 -0
- package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +18 -0
- package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/build_main.pyi +19 -7
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/splash.pyi +18 -16
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/utils/hooks/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +3 -0
- package/dist/typeshed-fallback/stubs/pynput/pynput/mouse/__init__.pyi +6 -3
- package/dist/typeshed-fallback/stubs/pyserial/serial/tools/miniterm.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pytz/pytz/tzinfo.pyi +3 -3
- package/dist/typeshed-fallback/stubs/pywin32/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +19 -2
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/win32con.pyi +4895 -4764
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/win32timezone.pyi +81 -42
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/winerror.pyi +7258 -2574
- package/dist/typeshed-fallback/stubs/pywin32/win32/servicemanager.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32trace.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32ts.pyi +1 -0
- package/dist/typeshed-fallback/stubs/pywin32/win32com/client/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/regex/regex/regex.pyi +5 -5
- package/dist/typeshed-fallback/stubs/requests/requests/__init__.pyi +12 -13
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +3 -0
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +4 -3
- package/dist/typeshed-fallback/stubs/setuptools/distutils/ccompiler.pyi +11 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/base.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/errors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/msvc.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/_msvccompiler.pyi +2 -21
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/archive_util.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +13 -178
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist_rpm.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_clib.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_ext.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_py.pyi +3 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install.pyi +5 -5
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_lib.pyi +4 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_scripts.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/sdist.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compat/__init__.pyi +6 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/base.pyi +196 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/errors.pyi +6 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/msvc.pyi +24 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +23 -20
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/errors.pyi +12 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +12 -11
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +6 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/util.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_wheel.pyi +0 -2
- package/dist/typeshed-fallback/stubs/simplejson/simplejson/encoder.pyi +1 -1
- package/dist/typeshed-fallback/stubs/six/six/moves/builtins.pyi +0 -1
- package/dist/typeshed-fallback/stubs/tqdm/METADATA.toml +4 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +4 -3
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/std.pyi +10 -3
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +15 -8
- package/dist/typeshed-fallback/stubs/watchpoints/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/__init__.pyi +10 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/ast_monkey.pyi +3 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/util.pyi +6 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch.pyi +68 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_element.pyi +56 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_print.pyi +24 -0
- package/dist/typeshed-fallback/stubs/zstd/METADATA.toml +1 -1
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +0 -543
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/markers.pyi +0 -13
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/requirements.pyi +0 -14
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/specifiers.pyi +0 -66
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/version.pyi +0 -49
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator, Iterable
|
|
3
|
-
from typing import
|
|
3
|
+
from typing import TypeVar, overload
|
|
4
4
|
|
|
5
5
|
from networkx.classes.graph import Graph, _Node
|
|
6
6
|
from networkx.utils.backends import _dispatchable
|
|
@@ -10,106 +10,101 @@ _U = TypeVar("_U")
|
|
|
10
10
|
@overload
|
|
11
11
|
def edge_boundary(
|
|
12
12
|
G: Graph[_Node],
|
|
13
|
-
nbunch1: Iterable[
|
|
14
|
-
nbunch2: Iterable[
|
|
15
|
-
data
|
|
16
|
-
keys:
|
|
17
|
-
default=None,
|
|
13
|
+
nbunch1: Iterable[Incomplete],
|
|
14
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
15
|
+
data=False,
|
|
16
|
+
keys: bool = False,
|
|
17
|
+
default: Incomplete | None = None,
|
|
18
18
|
) -> Generator[tuple[_Node, _Node], None, None]: ...
|
|
19
19
|
@overload
|
|
20
20
|
def edge_boundary(
|
|
21
21
|
G: Graph[_Node],
|
|
22
|
-
nbunch1: Iterable[
|
|
23
|
-
nbunch2: Iterable[
|
|
24
|
-
data
|
|
25
|
-
keys:
|
|
26
|
-
default=None,
|
|
22
|
+
nbunch1: Iterable[Incomplete],
|
|
23
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
24
|
+
data=False,
|
|
25
|
+
keys: bool = False,
|
|
26
|
+
default: Incomplete | None = None,
|
|
27
27
|
) -> Generator[tuple[_Node, _Node, dict[str, Incomplete]], None, None]: ...
|
|
28
28
|
@overload
|
|
29
29
|
def edge_boundary(
|
|
30
30
|
G: Graph[_Node],
|
|
31
|
-
nbunch1: Iterable[
|
|
32
|
-
nbunch2: Iterable[
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
default=None,
|
|
31
|
+
nbunch1: Iterable[Incomplete],
|
|
32
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
33
|
+
data=False,
|
|
34
|
+
keys: bool = False,
|
|
35
|
+
default: Incomplete | None = None,
|
|
37
36
|
) -> Generator[tuple[_Node, _Node, dict[str, Incomplete]], None, None]: ...
|
|
38
37
|
@overload
|
|
39
38
|
def edge_boundary(
|
|
40
39
|
G: Graph[_Node],
|
|
41
|
-
nbunch1: Iterable[
|
|
42
|
-
nbunch2: Iterable[
|
|
43
|
-
data
|
|
44
|
-
keys:
|
|
40
|
+
nbunch1: Iterable[Incomplete],
|
|
41
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
42
|
+
data=False,
|
|
43
|
+
keys: bool = False,
|
|
45
44
|
default: _U | None = None,
|
|
46
45
|
) -> Generator[tuple[_Node, _Node, dict[str, _U]], None, None]: ...
|
|
47
46
|
@overload
|
|
48
47
|
def edge_boundary(
|
|
49
48
|
G: Graph[_Node],
|
|
50
|
-
nbunch1: Iterable[
|
|
51
|
-
nbunch2: Iterable[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
keys: Literal[False] = False,
|
|
49
|
+
nbunch1: Iterable[Incomplete],
|
|
50
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
51
|
+
data=False,
|
|
52
|
+
keys: bool = False,
|
|
55
53
|
default: _U | None = None,
|
|
56
54
|
) -> Generator[tuple[_Node, _Node, dict[str, _U]], None, None]: ...
|
|
57
55
|
@overload
|
|
58
56
|
def edge_boundary(
|
|
59
57
|
G: Graph[_Node],
|
|
60
|
-
nbunch1: Iterable[
|
|
61
|
-
nbunch2: Iterable[
|
|
62
|
-
data
|
|
63
|
-
keys:
|
|
64
|
-
default=None,
|
|
58
|
+
nbunch1: Iterable[Incomplete],
|
|
59
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
60
|
+
data=False,
|
|
61
|
+
keys: bool = False,
|
|
62
|
+
default: Incomplete | None = None,
|
|
65
63
|
) -> Generator[tuple[_Node, _Node, int], None, None]: ...
|
|
66
64
|
@overload
|
|
67
65
|
def edge_boundary(
|
|
68
66
|
G: Graph[_Node],
|
|
69
|
-
nbunch1: Iterable[
|
|
70
|
-
nbunch2: Iterable[
|
|
71
|
-
data
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
default=None,
|
|
67
|
+
nbunch1: Iterable[Incomplete],
|
|
68
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
69
|
+
data=False,
|
|
70
|
+
keys: bool = False,
|
|
71
|
+
default: Incomplete | None = None,
|
|
75
72
|
) -> Generator[tuple[_Node, _Node, int], None, None]: ...
|
|
76
73
|
@overload
|
|
77
74
|
def edge_boundary(
|
|
78
75
|
G: Graph[_Node],
|
|
79
|
-
nbunch1: Iterable[
|
|
80
|
-
nbunch2: Iterable[
|
|
81
|
-
data
|
|
82
|
-
keys:
|
|
83
|
-
default=None,
|
|
76
|
+
nbunch1: Iterable[Incomplete],
|
|
77
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
78
|
+
data=False,
|
|
79
|
+
keys: bool = False,
|
|
80
|
+
default: Incomplete | None = None,
|
|
84
81
|
) -> Generator[tuple[_Node, _Node, int, dict[str, Incomplete]], None, None]: ...
|
|
85
82
|
@overload
|
|
86
83
|
def edge_boundary(
|
|
87
84
|
G: Graph[_Node],
|
|
88
|
-
nbunch1: Iterable[
|
|
89
|
-
nbunch2: Iterable[
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
default=None,
|
|
85
|
+
nbunch1: Iterable[Incomplete],
|
|
86
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
87
|
+
data=False,
|
|
88
|
+
keys: bool = False,
|
|
89
|
+
default: Incomplete | None = None,
|
|
94
90
|
) -> Generator[tuple[_Node, _Node, int, dict[str, Incomplete]], None, None]: ...
|
|
95
91
|
@overload
|
|
96
92
|
def edge_boundary(
|
|
97
93
|
G: Graph[_Node],
|
|
98
|
-
nbunch1: Iterable[
|
|
99
|
-
nbunch2: Iterable[
|
|
100
|
-
data
|
|
101
|
-
keys:
|
|
94
|
+
nbunch1: Iterable[Incomplete],
|
|
95
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
96
|
+
data=False,
|
|
97
|
+
keys: bool = False,
|
|
102
98
|
default: _U | None = None,
|
|
103
99
|
) -> Generator[tuple[_Node, _Node, int, dict[str, _U]], None, None]: ...
|
|
104
100
|
@overload
|
|
105
101
|
def edge_boundary(
|
|
106
102
|
G: Graph[_Node],
|
|
107
|
-
nbunch1: Iterable[
|
|
108
|
-
nbunch2: Iterable[
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
keys: Literal[True],
|
|
103
|
+
nbunch1: Iterable[Incomplete],
|
|
104
|
+
nbunch2: Iterable[Incomplete] | None = None,
|
|
105
|
+
data=False,
|
|
106
|
+
keys: bool = False,
|
|
112
107
|
default: _U | None = None,
|
|
113
108
|
) -> Generator[tuple[_Node, _Node, int, dict[str, _U]], None, None]: ...
|
|
114
109
|
@_dispatchable
|
|
115
|
-
def node_boundary(G: Graph[_Node], nbunch1: Iterable[
|
|
110
|
+
def node_boundary(G: Graph[_Node], nbunch1: Iterable[Incomplete], nbunch2: Iterable[Incomplete] | None = None) -> set[_Node]: ...
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
from
|
|
2
|
-
from
|
|
3
|
-
from typing import Literal, overload
|
|
1
|
+
from collections.abc import Generator
|
|
2
|
+
from typing import overload
|
|
4
3
|
|
|
5
4
|
from networkx.classes.graph import Graph, _Node
|
|
6
5
|
from networkx.utils.backends import _dispatchable
|
|
@@ -8,12 +7,12 @@ from networkx.utils.backends import _dispatchable
|
|
|
8
7
|
@_dispatchable
|
|
9
8
|
def bridges(G: Graph[_Node], root: _Node | None = None) -> Generator[_Node, None, None]: ...
|
|
10
9
|
@_dispatchable
|
|
11
|
-
def has_bridges(G: Graph[_Node], root:
|
|
10
|
+
def has_bridges(G: Graph[_Node], root: _Node | None = None) -> bool: ...
|
|
12
11
|
@overload
|
|
13
12
|
def local_bridges(
|
|
14
|
-
G: Graph[_Node], with_span:
|
|
13
|
+
G: Graph[_Node], with_span: bool = True, weight: str | None = None
|
|
15
14
|
) -> Generator[tuple[_Node, _Node], None, None]: ...
|
|
16
15
|
@overload
|
|
17
16
|
def local_bridges(
|
|
18
|
-
G: Graph[_Node], with_span:
|
|
17
|
+
G: Graph[_Node], with_span: bool = True, weight: str | None = None
|
|
19
18
|
) -> Generator[tuple[_Node, _Node, int], None, None]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness.pyi
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
|
-
|
|
3
1
|
from networkx.classes.graph import Graph, _Edge, _Node
|
|
4
2
|
from networkx.utils.backends import _dispatchable
|
|
5
3
|
from numpy.random import RandomState
|
|
@@ -8,12 +6,16 @@ from numpy.random import RandomState
|
|
|
8
6
|
def betweenness_centrality(
|
|
9
7
|
G: Graph[_Node],
|
|
10
8
|
k: int | None = None,
|
|
11
|
-
normalized: bool = True,
|
|
9
|
+
normalized: bool | None = True,
|
|
12
10
|
weight: str | None = None,
|
|
13
|
-
endpoints: bool = False,
|
|
11
|
+
endpoints: bool | None = False,
|
|
14
12
|
seed: int | RandomState | None = None,
|
|
15
13
|
) -> dict[_Node, float]: ...
|
|
16
14
|
@_dispatchable
|
|
17
15
|
def edge_betweenness_centrality(
|
|
18
|
-
G: Graph[_Node],
|
|
16
|
+
G: Graph[_Node],
|
|
17
|
+
k: int | None = None,
|
|
18
|
+
normalized: bool | None = True,
|
|
19
|
+
weight: str | None = None,
|
|
20
|
+
seed: int | RandomState | None = None,
|
|
19
21
|
) -> dict[_Edge[_Node], float]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness_subset.pyi
CHANGED
|
@@ -5,9 +5,17 @@ from networkx.utils.backends import _dispatchable
|
|
|
5
5
|
|
|
6
6
|
@_dispatchable
|
|
7
7
|
def betweenness_centrality_subset(
|
|
8
|
-
G: Graph[_Node],
|
|
8
|
+
G: Graph[_Node],
|
|
9
|
+
sources: Iterable[_Node],
|
|
10
|
+
targets: Iterable[_Node],
|
|
11
|
+
normalized: bool | None = False,
|
|
12
|
+
weight: str | None = None,
|
|
9
13
|
) -> dict[_Node, float]: ...
|
|
10
14
|
@_dispatchable
|
|
11
15
|
def edge_betweenness_centrality_subset(
|
|
12
|
-
G: Graph[_Node],
|
|
16
|
+
G: Graph[_Node],
|
|
17
|
+
sources: Iterable[_Node],
|
|
18
|
+
targets: Iterable[_Node],
|
|
19
|
+
normalized: bool | None = False,
|
|
20
|
+
weight: str | None = None,
|
|
13
21
|
) -> dict[_Edge[_Node], float]: ...
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
from _typeshed import
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
2
2
|
|
|
3
|
-
from networkx.classes.graph import Graph,
|
|
3
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
4
|
from networkx.utils.backends import _dispatchable
|
|
5
5
|
|
|
6
6
|
@_dispatchable
|
|
7
7
|
def closeness_centrality(
|
|
8
|
-
G: Graph[_Node], u: _Node | None = None, distance
|
|
8
|
+
G: Graph[_Node], u: _Node | None = None, distance=None, wf_improved: bool | None = True
|
|
9
9
|
) -> dict[_Node, float]: ...
|
|
10
10
|
@_dispatchable
|
|
11
11
|
def incremental_closeness_centrality(
|
|
12
12
|
G: Graph[_Node],
|
|
13
|
-
edge:
|
|
14
|
-
prev_cc:
|
|
15
|
-
insertion: bool = True,
|
|
16
|
-
wf_improved: bool = True,
|
|
13
|
+
edge: tuple[Incomplete],
|
|
14
|
+
prev_cc: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
15
|
+
insertion: bool | None = True,
|
|
16
|
+
wf_improved: bool | None = True,
|
|
17
17
|
) -> dict[_Node, float]: ...
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
3
|
+
from numpy.random import RandomState
|
|
4
4
|
|
|
5
5
|
@_dispatchable
|
|
6
6
|
def approximate_current_flow_betweenness_centrality(
|
|
7
|
-
G,
|
|
8
|
-
normalized: bool = True,
|
|
9
|
-
weight:
|
|
10
|
-
dtype
|
|
7
|
+
G: Graph[_Node],
|
|
8
|
+
normalized: bool | None = True,
|
|
9
|
+
weight: str | None = None,
|
|
10
|
+
dtype: type = ...,
|
|
11
11
|
solver: str = "full",
|
|
12
12
|
epsilon: float = 0.5,
|
|
13
13
|
kmax: int = 10000,
|
|
14
|
-
seed:
|
|
14
|
+
seed: int | RandomState | None = None,
|
|
15
15
|
): ...
|
|
16
16
|
@_dispatchable
|
|
17
17
|
def current_flow_betweenness_centrality(
|
|
18
|
-
G, normalized: bool = True, weight:
|
|
18
|
+
G: Graph[_Node], normalized: bool | None = True, weight: str | None = None, dtype: type = ..., solver: str = "full"
|
|
19
19
|
): ...
|
|
20
20
|
@_dispatchable
|
|
21
21
|
def edge_current_flow_betweenness_centrality(
|
|
22
|
-
G, normalized: bool = True, weight:
|
|
22
|
+
G: Graph[_Node], normalized: bool | None = True, weight: str | None = None, dtype: type = ..., solver: str = "full"
|
|
23
23
|
): ...
|
|
@@ -1,12 +1,25 @@
|
|
|
1
|
-
from
|
|
1
|
+
from collections.abc import Iterable
|
|
2
2
|
|
|
3
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
4
|
from networkx.utils.backends import _dispatchable
|
|
4
5
|
|
|
5
6
|
@_dispatchable
|
|
6
7
|
def current_flow_betweenness_centrality_subset(
|
|
7
|
-
G
|
|
8
|
+
G: Graph[_Node],
|
|
9
|
+
sources: Iterable[_Node],
|
|
10
|
+
targets: Iterable[_Node],
|
|
11
|
+
normalized: bool | None = True,
|
|
12
|
+
weight: str | None = None,
|
|
13
|
+
dtype: type = ...,
|
|
14
|
+
solver: str = "lu",
|
|
8
15
|
): ...
|
|
9
16
|
@_dispatchable
|
|
10
17
|
def edge_current_flow_betweenness_centrality_subset(
|
|
11
|
-
G
|
|
18
|
+
G: Graph[_Node],
|
|
19
|
+
sources: Iterable[_Node],
|
|
20
|
+
targets: Iterable[_Node],
|
|
21
|
+
normalized: bool | None = True,
|
|
22
|
+
weight: str | None = None,
|
|
23
|
+
dtype: type = ...,
|
|
24
|
+
solver: str = "lu",
|
|
12
25
|
): ...
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
4
3
|
|
|
5
4
|
@_dispatchable
|
|
6
|
-
def current_flow_closeness_centrality(G, weight:
|
|
5
|
+
def current_flow_closeness_centrality(G: Graph[_Node], weight: str | None = None, dtype: type = ..., solver: str = "lu"): ...
|
|
7
6
|
|
|
8
7
|
information_centrality = current_flow_closeness_centrality
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/eigenvector.pyi
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
2
2
|
|
|
3
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
4
|
from networkx.utils.backends import _dispatchable
|
|
4
5
|
|
|
5
6
|
@_dispatchable
|
|
6
7
|
def eigenvector_centrality(
|
|
7
|
-
G
|
|
8
|
+
G: Graph[_Node],
|
|
9
|
+
max_iter: int | None = 100,
|
|
10
|
+
tol: float | None = 1e-06,
|
|
11
|
+
nstart: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
12
|
+
weight: str | None = None,
|
|
8
13
|
): ...
|
|
9
14
|
@_dispatchable
|
|
10
|
-
def eigenvector_centrality_numpy(
|
|
15
|
+
def eigenvector_centrality_numpy(
|
|
16
|
+
G: Graph[_Node], weight: str | None = None, max_iter: int | None = 50, tol: float | None = 0
|
|
17
|
+
): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/flow_matrix.pyi
CHANGED
|
@@ -12,6 +12,7 @@ class InverseLaplacian:
|
|
|
12
12
|
w: Incomplete
|
|
13
13
|
C: Incomplete
|
|
14
14
|
L1: Incomplete
|
|
15
|
+
|
|
15
16
|
def __init__(self, L, width: Incomplete | None = None, dtype: Incomplete | None = None) -> None: ...
|
|
16
17
|
def init_solver(self, L) -> None: ...
|
|
17
18
|
def solve(self, r) -> None: ...
|
|
@@ -22,18 +23,21 @@ class InverseLaplacian:
|
|
|
22
23
|
|
|
23
24
|
class FullInverseLaplacian(InverseLaplacian):
|
|
24
25
|
IL: Incomplete
|
|
26
|
+
|
|
25
27
|
def init_solver(self, L) -> None: ...
|
|
26
28
|
def solve(self, rhs): ...
|
|
27
29
|
def solve_inverse(self, r): ...
|
|
28
30
|
|
|
29
31
|
class SuperLUInverseLaplacian(InverseLaplacian):
|
|
30
32
|
lusolve: Incomplete
|
|
33
|
+
|
|
31
34
|
def init_solver(self, L) -> None: ...
|
|
32
35
|
def solve_inverse(self, r): ...
|
|
33
36
|
def solve(self, rhs): ...
|
|
34
37
|
|
|
35
38
|
class CGInverseLaplacian(InverseLaplacian):
|
|
36
39
|
M: Incomplete
|
|
40
|
+
|
|
37
41
|
def init_solver(self, L) -> None: ...
|
|
38
42
|
def solve(self, rhs): ...
|
|
39
43
|
def solve_inverse(self, r): ...
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Iterable
|
|
2
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
5
|
from networkx.utils.backends import _dispatchable
|
|
4
6
|
|
|
5
7
|
@_dispatchable
|
|
6
|
-
def group_betweenness_centrality(
|
|
8
|
+
def group_betweenness_centrality(
|
|
9
|
+
G: Graph[_Node], C, normalized: bool | None = True, weight: str | None = None, endpoints: bool | None = False
|
|
10
|
+
): ...
|
|
7
11
|
@_dispatchable
|
|
8
12
|
def prominent_group(
|
|
9
|
-
G,
|
|
10
|
-
k,
|
|
11
|
-
weight:
|
|
12
|
-
C: Incomplete | None = None,
|
|
13
|
-
endpoints: bool = False,
|
|
14
|
-
normalized: bool = True,
|
|
15
|
-
greedy: bool = False,
|
|
13
|
+
G: Graph[_Node],
|
|
14
|
+
k: int,
|
|
15
|
+
weight: str | None = None,
|
|
16
|
+
C: Iterable[Incomplete] | None = None,
|
|
17
|
+
endpoints: bool | None = False,
|
|
18
|
+
normalized: bool | None = True,
|
|
19
|
+
greedy: bool | None = False,
|
|
16
20
|
): ...
|
|
17
21
|
@_dispatchable
|
|
18
|
-
def group_closeness_centrality(G, S, weight:
|
|
22
|
+
def group_closeness_centrality(G: Graph[_Node], S: Iterable[Incomplete], weight: str | None = None): ...
|
|
19
23
|
@_dispatchable
|
|
20
|
-
def group_degree_centrality(G, S): ...
|
|
24
|
+
def group_degree_centrality(G: Graph[_Node], S: Iterable[Incomplete]): ...
|
|
21
25
|
@_dispatchable
|
|
22
|
-
def group_in_degree_centrality(G, S): ...
|
|
26
|
+
def group_in_degree_centrality(G: Graph[_Node], S: Iterable[Incomplete]): ...
|
|
23
27
|
@_dispatchable
|
|
24
|
-
def group_out_degree_centrality(G, S): ...
|
|
28
|
+
def group_out_degree_centrality(G: Graph[_Node], S: Iterable[Incomplete]): ...
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Iterable
|
|
2
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
5
|
from networkx.utils.backends import _dispatchable
|
|
4
6
|
|
|
5
7
|
@_dispatchable
|
|
6
8
|
def harmonic_centrality(
|
|
7
|
-
G, nbunch: Incomplete | None = None, distance
|
|
9
|
+
G: Graph[_Node], nbunch: Iterable[Incomplete] | None = None, distance=None, sources: Iterable[Incomplete] | None = None
|
|
8
10
|
): ...
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
2
2
|
|
|
3
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
4
|
from networkx.utils.backends import _dispatchable
|
|
4
5
|
|
|
5
6
|
@_dispatchable
|
|
6
7
|
def katz_centrality(
|
|
7
|
-
G,
|
|
8
|
-
alpha: float = 0.1,
|
|
9
|
-
beta: float = 1.0,
|
|
10
|
-
max_iter: int = 1000,
|
|
11
|
-
tol: float = 1e-06,
|
|
12
|
-
nstart: Incomplete | None = None,
|
|
13
|
-
normalized: bool = True,
|
|
14
|
-
weight:
|
|
8
|
+
G: Graph[_Node],
|
|
9
|
+
alpha: float | None = 0.1,
|
|
10
|
+
beta: float | SupportsGetItem[Incomplete, Incomplete] | None = 1.0,
|
|
11
|
+
max_iter: int | None = 1000,
|
|
12
|
+
tol: float | None = 1e-06,
|
|
13
|
+
nstart: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
14
|
+
normalized: bool | None = True,
|
|
15
|
+
weight: str | None = None,
|
|
15
16
|
): ...
|
|
16
17
|
@_dispatchable
|
|
17
18
|
def katz_centrality_numpy(
|
|
18
|
-
G
|
|
19
|
+
G: Graph[_Node],
|
|
20
|
+
alpha: float = 0.1,
|
|
21
|
+
beta: float | SupportsGetItem[Incomplete, Incomplete] | None = 1.0,
|
|
22
|
+
normalized: bool = True,
|
|
23
|
+
weight: str | None = None,
|
|
19
24
|
): ...
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Iterable
|
|
2
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
5
|
from networkx.utils.backends import _dispatchable
|
|
4
6
|
|
|
5
7
|
@_dispatchable
|
|
6
8
|
def laplacian_centrality(
|
|
7
|
-
G,
|
|
9
|
+
G: Graph[_Node],
|
|
8
10
|
normalized: bool = True,
|
|
9
|
-
nodelist: Incomplete | None = None,
|
|
10
|
-
weight: str = "weight",
|
|
11
|
-
walk_type:
|
|
11
|
+
nodelist: Iterable[Incomplete] | None = None,
|
|
12
|
+
weight: str | None = "weight",
|
|
13
|
+
walk_type: str | None = None,
|
|
12
14
|
alpha: float = 0.95,
|
|
13
15
|
): ...
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
4
3
|
|
|
5
4
|
__all__ = ["load_centrality", "edge_load_centrality"]
|
|
6
5
|
|
|
7
6
|
@_dispatchable
|
|
8
7
|
def newman_betweenness_centrality(
|
|
9
|
-
G, v
|
|
8
|
+
G: Graph[_Node], v=None, cutoff: bool | None = None, normalized: bool | None = True, weight: str | None = None
|
|
10
9
|
): ...
|
|
11
10
|
|
|
12
11
|
load_centrality = newman_betweenness_centrality
|
|
13
12
|
|
|
14
13
|
@_dispatchable
|
|
15
|
-
def edge_load_centrality(G, cutoff: bool = False): ...
|
|
14
|
+
def edge_load_centrality(G: Graph[_Node], cutoff: bool | None = False): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/percolation.pyi
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
2
2
|
|
|
3
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
4
|
from networkx.utils.backends import _dispatchable
|
|
4
5
|
|
|
5
6
|
@_dispatchable
|
|
6
7
|
def percolation_centrality(
|
|
7
|
-
G
|
|
8
|
+
G: Graph[_Node],
|
|
9
|
+
attribute: str | None = "percolation",
|
|
10
|
+
states: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
11
|
+
weight: str | None = None,
|
|
8
12
|
): ...
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
2
2
|
|
|
3
|
+
from networkx.classes.digraph import DiGraph
|
|
4
|
+
from networkx.classes.graph import _Node
|
|
3
5
|
from networkx.utils.backends import _dispatchable
|
|
4
6
|
|
|
5
7
|
@_dispatchable
|
|
6
|
-
def global_reaching_centrality(G, weight:
|
|
8
|
+
def global_reaching_centrality(G: DiGraph[_Node], weight: str | None = None, normalized: bool | None = True): ...
|
|
7
9
|
@_dispatchable
|
|
8
10
|
def local_reaching_centrality(
|
|
9
|
-
G
|
|
11
|
+
G: DiGraph[_Node],
|
|
12
|
+
v: _Node,
|
|
13
|
+
paths: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
14
|
+
weight: str | None = None,
|
|
15
|
+
normalized: bool | None = True,
|
|
10
16
|
): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/subgraph_alg.pyi
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.utils.backends import _dispatchable
|
|
2
3
|
|
|
3
4
|
@_dispatchable
|
|
4
|
-
def subgraph_centrality_exp(G): ...
|
|
5
|
+
def subgraph_centrality_exp(G: Graph[_Node]): ...
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def subgraph_centrality(G): ...
|
|
7
|
+
def subgraph_centrality(G: Graph[_Node]): ...
|
|
7
8
|
@_dispatchable
|
|
8
|
-
def communicability_betweenness_centrality(G): ...
|
|
9
|
+
def communicability_betweenness_centrality(G: Graph[_Node]): ...
|
|
9
10
|
@_dispatchable
|
|
10
|
-
def estrada_index(G): ...
|
|
11
|
+
def estrada_index(G: Graph[_Node]): ...
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
from networkx.classes.digraph import DiGraph
|
|
2
|
+
from networkx.classes.graph import _Node
|
|
1
3
|
from networkx.utils.backends import _dispatchable
|
|
2
4
|
|
|
3
5
|
@_dispatchable
|
|
4
|
-
def trophic_levels(G, weight
|
|
6
|
+
def trophic_levels(G: DiGraph[_Node], weight="weight"): ...
|
|
5
7
|
@_dispatchable
|
|
6
|
-
def trophic_differences(G, weight
|
|
8
|
+
def trophic_differences(G: DiGraph[_Node], weight="weight"): ...
|
|
7
9
|
@_dispatchable
|
|
8
|
-
def trophic_incoherence_parameter(G, weight
|
|
10
|
+
def trophic_incoherence_parameter(G: DiGraph[_Node], weight="weight", cannibalism: bool = False): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/voterank_alg.pyi
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
4
3
|
|
|
5
4
|
@_dispatchable
|
|
6
|
-
def voterank(G, number_of_nodes:
|
|
5
|
+
def voterank(G: Graph[_Node], number_of_nodes: int | None = None): ...
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import sys
|
|
2
|
-
from collections.abc import Generator
|
|
2
|
+
from collections.abc import Generator
|
|
3
3
|
|
|
4
4
|
from networkx.classes.graph import Graph, _Node
|
|
5
5
|
from networkx.exception import NetworkXException
|
|
@@ -8,10 +8,10 @@ from networkx.utils.backends import _dispatchable
|
|
|
8
8
|
class NetworkXTreewidthBoundExceeded(NetworkXException): ...
|
|
9
9
|
|
|
10
10
|
@_dispatchable
|
|
11
|
-
def is_chordal(G: Graph[
|
|
11
|
+
def is_chordal(G: Graph[_Node]) -> bool: ...
|
|
12
12
|
@_dispatchable
|
|
13
13
|
def find_induced_nodes(G: Graph[_Node], s: _Node, t: _Node, treewidth_bound: float = sys.maxsize) -> set[_Node]: ...
|
|
14
14
|
@_dispatchable
|
|
15
15
|
def chordal_graph_cliques(G: Graph[_Node]) -> Generator[frozenset[_Node], None, None]: ...
|
|
16
16
|
@_dispatchable
|
|
17
|
-
def chordal_graph_treewidth(G: Graph[
|
|
17
|
+
def chordal_graph_treewidth(G: Graph[_Node]) -> int: ...
|