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,23 +1,30 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Callable
|
|
2
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
5
|
from networkx.utils.backends import _dispatchable
|
|
4
6
|
|
|
5
7
|
__all__ = ["could_be_isomorphic", "fast_could_be_isomorphic", "faster_could_be_isomorphic", "is_isomorphic"]
|
|
6
8
|
|
|
7
9
|
@_dispatchable
|
|
8
|
-
def could_be_isomorphic(G1, G2): ...
|
|
10
|
+
def could_be_isomorphic(G1: Graph[_Node], G2: Graph[_Node]): ...
|
|
9
11
|
|
|
10
12
|
graph_could_be_isomorphic = could_be_isomorphic
|
|
11
13
|
|
|
12
14
|
@_dispatchable
|
|
13
|
-
def fast_could_be_isomorphic(G1, G2): ...
|
|
15
|
+
def fast_could_be_isomorphic(G1: Graph[_Node], G2: Graph[_Node]): ...
|
|
14
16
|
|
|
15
17
|
fast_graph_could_be_isomorphic = fast_could_be_isomorphic
|
|
16
18
|
|
|
17
19
|
@_dispatchable
|
|
18
|
-
def faster_could_be_isomorphic(G1, G2): ...
|
|
20
|
+
def faster_could_be_isomorphic(G1: Graph[_Node], G2: Graph[_Node]): ...
|
|
19
21
|
|
|
20
22
|
faster_graph_could_be_isomorphic = faster_could_be_isomorphic
|
|
21
23
|
|
|
22
24
|
@_dispatchable
|
|
23
|
-
def is_isomorphic(
|
|
25
|
+
def is_isomorphic(
|
|
26
|
+
G1: Graph[_Node],
|
|
27
|
+
G2: Graph[_Node],
|
|
28
|
+
node_match: Callable[..., Incomplete] | None = None,
|
|
29
|
+
edge_match: Callable[..., Incomplete] | None = None,
|
|
30
|
+
): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorphvf2.pyi
CHANGED
|
@@ -11,6 +11,7 @@ class GraphMatcher:
|
|
|
11
11
|
G2_node_order: Incomplete
|
|
12
12
|
old_recursion_limit: Incomplete
|
|
13
13
|
test: str
|
|
14
|
+
|
|
14
15
|
def __init__(self, G1, G2) -> None: ...
|
|
15
16
|
def reset_recursion_limit(self) -> None: ...
|
|
16
17
|
def candidate_pairs_iter(self) -> Generator[Incomplete, None, None]: ...
|
|
@@ -20,6 +21,7 @@ class GraphMatcher:
|
|
|
20
21
|
inout_2: Incomplete
|
|
21
22
|
state: Incomplete
|
|
22
23
|
mapping: Incomplete
|
|
24
|
+
|
|
23
25
|
def initialize(self) -> None: ...
|
|
24
26
|
def is_isomorphic(self): ...
|
|
25
27
|
def isomorphisms_iter(self) -> Generator[Incomplete, Incomplete, None]: ...
|
|
@@ -42,6 +44,7 @@ class DiGraphMatcher(GraphMatcher):
|
|
|
42
44
|
out_2: Incomplete
|
|
43
45
|
state: Incomplete
|
|
44
46
|
mapping: Incomplete
|
|
47
|
+
|
|
45
48
|
def initialize(self) -> None: ...
|
|
46
49
|
def syntactic_feasibility(self, G1_node, G2_node): ...
|
|
47
50
|
|
|
@@ -50,6 +53,7 @@ class GMState:
|
|
|
50
53
|
G1_node: Incomplete
|
|
51
54
|
G2_node: Incomplete
|
|
52
55
|
depth: Incomplete
|
|
56
|
+
|
|
53
57
|
def __init__(self, GM, G1_node: Incomplete | None = None, G2_node: Incomplete | None = None) -> None: ...
|
|
54
58
|
def restore(self) -> None: ...
|
|
55
59
|
|
|
@@ -58,5 +62,6 @@ class DiGMState:
|
|
|
58
62
|
G1_node: Incomplete
|
|
59
63
|
G2_node: Incomplete
|
|
60
64
|
depth: Incomplete
|
|
65
|
+
|
|
61
66
|
def __init__(self, GM, G1_node: Incomplete | None = None, G2_node: Incomplete | None = None) -> None: ...
|
|
62
67
|
def restore(self) -> None: ...
|
|
@@ -7,6 +7,7 @@ __all__ = ["TimeRespectingGraphMatcher", "TimeRespectingDiGraphMatcher"]
|
|
|
7
7
|
class TimeRespectingGraphMatcher(GraphMatcher):
|
|
8
8
|
temporal_attribute_name: Incomplete
|
|
9
9
|
delta: Incomplete
|
|
10
|
+
|
|
10
11
|
def __init__(self, G1, G2, temporal_attribute_name, delta) -> None: ...
|
|
11
12
|
def one_hop(self, Gx, Gx_node, neighbors): ...
|
|
12
13
|
def two_hop(self, Gx, core_x, Gx_node, neighbors): ...
|
|
@@ -15,6 +16,7 @@ class TimeRespectingGraphMatcher(GraphMatcher):
|
|
|
15
16
|
class TimeRespectingDiGraphMatcher(DiGraphMatcher):
|
|
16
17
|
temporal_attribute_name: Incomplete
|
|
17
18
|
delta: Incomplete
|
|
19
|
+
|
|
18
20
|
def __init__(self, G1, G2, temporal_attribute_name, delta) -> None: ...
|
|
19
21
|
def get_pred_dates(self, Gx, Gx_node, core_x, pred): ...
|
|
20
22
|
def get_succ_dates(self, Gx, Gx_node, core_x, succ): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.utils.backends import _dispatchable
|
|
2
3
|
|
|
3
4
|
@_dispatchable
|
|
4
5
|
def rooted_tree_isomorphism(t1, root1, t2, root2): ...
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def tree_isomorphism(t1, t2): ...
|
|
7
|
+
def tree_isomorphism(t1: Graph[_Node], t2: Graph[_Node]): ...
|
|
@@ -2,6 +2,7 @@ from _typeshed import Incomplete
|
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
from typing import NamedTuple
|
|
4
4
|
|
|
5
|
+
from networkx.classes.graph import Graph, _Node
|
|
5
6
|
from networkx.utils.backends import _dispatchable
|
|
6
7
|
|
|
7
8
|
class _GraphParameters(NamedTuple):
|
|
@@ -26,10 +27,12 @@ class _StateParameters(NamedTuple):
|
|
|
26
27
|
T2_tilde_in: Incomplete
|
|
27
28
|
|
|
28
29
|
@_dispatchable
|
|
29
|
-
def vf2pp_isomorphism(G1, G2, node_label:
|
|
30
|
+
def vf2pp_isomorphism(G1: Graph[_Node], G2: Graph[_Node], node_label: str | None = None, default_label: float | None = None): ...
|
|
30
31
|
@_dispatchable
|
|
31
|
-
def vf2pp_is_isomorphic(
|
|
32
|
+
def vf2pp_is_isomorphic(
|
|
33
|
+
G1: Graph[_Node], G2: Graph[_Node], node_label: str | None = None, default_label: float | None = None
|
|
34
|
+
): ...
|
|
32
35
|
@_dispatchable
|
|
33
36
|
def vf2pp_all_isomorphisms(
|
|
34
|
-
G1, G2, node_label:
|
|
37
|
+
G1: Graph[_Node], G2: Graph[_Node], node_label: str | None = None, default_label: float | None = None
|
|
35
38
|
) -> Generator[Incomplete, None, Incomplete]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/vf2userfunc.pyi
CHANGED
|
@@ -9,6 +9,7 @@ class GraphMatcher(vf2.GraphMatcher):
|
|
|
9
9
|
edge_match: Incomplete
|
|
10
10
|
G1_adj: Incomplete
|
|
11
11
|
G2_adj: Incomplete
|
|
12
|
+
|
|
12
13
|
def __init__(self, G1, G2, node_match: Incomplete | None = None, edge_match: Incomplete | None = None) -> None: ...
|
|
13
14
|
semantic_feasibility: Incomplete
|
|
14
15
|
|
|
@@ -17,6 +18,7 @@ class DiGraphMatcher(vf2.DiGraphMatcher):
|
|
|
17
18
|
edge_match: Incomplete
|
|
18
19
|
G1_adj: Incomplete
|
|
19
20
|
G2_adj: Incomplete
|
|
21
|
+
|
|
20
22
|
def __init__(self, G1, G2, node_match: Incomplete | None = None, edge_match: Incomplete | None = None) -> None: ...
|
|
21
23
|
def semantic_feasibility(self, G1_node, G2_node): ...
|
|
22
24
|
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/hits_alg.pyi
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
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
|
-
def hits(
|
|
7
|
+
def hits(
|
|
8
|
+
G: Graph[_Node],
|
|
9
|
+
max_iter: int | None = 100,
|
|
10
|
+
tol: float | None = 1e-08,
|
|
11
|
+
nstart: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
12
|
+
normalized: bool = True,
|
|
13
|
+
): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/pagerank_alg.pyi
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
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 pagerank(
|
|
7
|
-
G,
|
|
8
|
-
alpha: float = 0.85,
|
|
9
|
-
personalization: Incomplete | None = None,
|
|
10
|
-
max_iter: int = 100,
|
|
11
|
-
tol: float = 1e-06,
|
|
12
|
-
nstart: Incomplete | None = None,
|
|
13
|
-
weight: str = "weight",
|
|
14
|
-
dangling: Incomplete | None = None,
|
|
9
|
+
G: Graph[_Node],
|
|
10
|
+
alpha: float | None = 0.85,
|
|
11
|
+
personalization: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
12
|
+
max_iter: int | None = 100,
|
|
13
|
+
tol: float | None = 1e-06,
|
|
14
|
+
nstart: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
15
|
+
weight: str | None = "weight",
|
|
16
|
+
dangling: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
15
17
|
): ...
|
|
16
18
|
@_dispatchable
|
|
17
19
|
def google_matrix(
|
|
18
|
-
G,
|
|
20
|
+
G: Graph[_Node],
|
|
19
21
|
alpha: float = 0.85,
|
|
20
|
-
personalization: Incomplete | None = None,
|
|
21
|
-
nodelist: Incomplete | None = None,
|
|
22
|
-
weight: str = "weight",
|
|
23
|
-
dangling: Incomplete | None = None,
|
|
22
|
+
personalization: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
23
|
+
nodelist: Iterable[Incomplete] | None = None,
|
|
24
|
+
weight: str | None = "weight",
|
|
25
|
+
dangling: SupportsGetItem[Incomplete, Incomplete] | None = None,
|
|
24
26
|
): ...
|
|
@@ -1,20 +1,19 @@
|
|
|
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 resource_allocation_index(G, ebunch
|
|
5
|
+
def resource_allocation_index(G: Graph[_Node], ebunch=None): ...
|
|
7
6
|
@_dispatchable
|
|
8
|
-
def jaccard_coefficient(G, ebunch
|
|
7
|
+
def jaccard_coefficient(G: Graph[_Node], ebunch=None): ...
|
|
9
8
|
@_dispatchable
|
|
10
|
-
def adamic_adar_index(G, ebunch
|
|
9
|
+
def adamic_adar_index(G: Graph[_Node], ebunch=None): ...
|
|
11
10
|
@_dispatchable
|
|
12
|
-
def common_neighbor_centrality(G, ebunch
|
|
11
|
+
def common_neighbor_centrality(G: Graph[_Node], ebunch=None, alpha=0.8): ...
|
|
13
12
|
@_dispatchable
|
|
14
|
-
def preferential_attachment(G, ebunch
|
|
13
|
+
def preferential_attachment(G: Graph[_Node], ebunch=None): ...
|
|
15
14
|
@_dispatchable
|
|
16
|
-
def cn_soundarajan_hopcroft(G, ebunch
|
|
15
|
+
def cn_soundarajan_hopcroft(G: Graph[_Node], ebunch=None, community: str | None = "community"): ...
|
|
17
16
|
@_dispatchable
|
|
18
|
-
def ra_index_soundarajan_hopcroft(G, ebunch
|
|
17
|
+
def ra_index_soundarajan_hopcroft(G: Graph[_Node], ebunch=None, community: str | None = "community"): ...
|
|
19
18
|
@_dispatchable
|
|
20
|
-
def within_inter_cluster(G, ebunch
|
|
19
|
+
def within_inter_cluster(G: Graph[_Node], ebunch=None, delta: float | None = 0.001, community: str | None = "community"): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/lowest_common_ancestors.pyi
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.digraph import DiGraph
|
|
5
|
+
from networkx.classes.graph import _Node
|
|
4
6
|
from networkx.utils.backends import _dispatchable
|
|
5
7
|
|
|
6
8
|
@_dispatchable
|
|
7
|
-
def all_pairs_lowest_common_ancestor(G, pairs
|
|
9
|
+
def all_pairs_lowest_common_ancestor(G: DiGraph[_Node], pairs=None): ...
|
|
8
10
|
@_dispatchable
|
|
9
|
-
def lowest_common_ancestor(G, node1, node2, default: Incomplete | None = None): ...
|
|
11
|
+
def lowest_common_ancestor(G: DiGraph[_Node], node1, node2, default: Incomplete | None = None): ...
|
|
10
12
|
@_dispatchable
|
|
11
13
|
def tree_all_pairs_lowest_common_ancestor(
|
|
12
|
-
G, root:
|
|
14
|
+
G: DiGraph[_Node], root: _Node | None = None, pairs=None
|
|
13
15
|
) -> Generator[Incomplete, None, None]: ...
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.utils.backends import _dispatchable
|
|
2
3
|
|
|
3
4
|
@_dispatchable
|
|
4
|
-
def maximal_matching(G): ...
|
|
5
|
+
def maximal_matching(G: Graph[_Node]): ...
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def is_matching(G, matching): ...
|
|
7
|
+
def is_matching(G: Graph[_Node], matching): ...
|
|
7
8
|
@_dispatchable
|
|
8
|
-
def is_maximal_matching(G, matching): ...
|
|
9
|
+
def is_maximal_matching(G: Graph[_Node], matching): ...
|
|
9
10
|
@_dispatchable
|
|
10
|
-
def is_perfect_matching(G, matching): ...
|
|
11
|
+
def is_perfect_matching(G: Graph[_Node], matching): ...
|
|
11
12
|
@_dispatchable
|
|
12
|
-
def min_weight_matching(G, weight: str = "weight"): ...
|
|
13
|
+
def min_weight_matching(G: Graph[_Node], weight: str | None = "weight"): ...
|
|
13
14
|
@_dispatchable
|
|
14
|
-
def max_weight_matching(G, maxcardinality: bool = False, weight: str = "weight"): ...
|
|
15
|
+
def max_weight_matching(G: Graph[_Node], maxcardinality: bool | None = False, weight: str | None = "weight"): ...
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Callable
|
|
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 equivalence_classes(iterable, relation): ...
|
|
7
9
|
@_dispatchable
|
|
8
10
|
def quotient_graph(
|
|
9
|
-
G,
|
|
11
|
+
G: Graph[_Node],
|
|
10
12
|
partition,
|
|
11
|
-
edge_relation
|
|
12
|
-
node_data: Incomplete | None = None,
|
|
13
|
-
edge_data: Incomplete | None = None,
|
|
13
|
+
edge_relation=None,
|
|
14
|
+
node_data: Callable[..., Incomplete] | None = None,
|
|
15
|
+
edge_data: Callable[..., Incomplete] | None = None,
|
|
16
|
+
weight: str | None = "weight",
|
|
14
17
|
relabel: bool = False,
|
|
15
|
-
create_using:
|
|
18
|
+
create_using: Graph[_Node] | None = None,
|
|
16
19
|
): ...
|
|
17
20
|
@_dispatchable
|
|
18
|
-
def contracted_nodes(G, u, v, self_loops: bool = True, copy: bool = True): ...
|
|
21
|
+
def contracted_nodes(G: Graph[_Node], u, v, self_loops: bool = True, copy: bool = True): ...
|
|
19
22
|
|
|
20
23
|
identified_nodes = contracted_nodes
|
|
21
24
|
|
|
22
25
|
@_dispatchable
|
|
23
|
-
def contracted_edge(G, edge, self_loops: bool = True, copy: bool = True): ...
|
|
26
|
+
def contracted_edge(G: Graph[_Node], edge: tuple[Incomplete], self_loops: bool = True, copy: bool = True): ...
|
|
@@ -1,6 +1,11 @@
|
|
|
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
|
|
6
|
+
from numpy.random import RandomState
|
|
4
7
|
|
|
5
8
|
@_dispatchable
|
|
6
|
-
def maximal_independent_set(
|
|
9
|
+
def maximal_independent_set(
|
|
10
|
+
G: Graph[_Node], nodes: Iterable[Incomplete] | None = None, seed: int | RandomState | None = None
|
|
11
|
+
): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.utils.backends import _dispatchable
|
|
2
3
|
|
|
3
4
|
@_dispatchable
|
|
4
|
-
def harmonic_function(G, max_iter: int = 30, label_name: str = "label"): ...
|
|
5
|
+
def harmonic_function(G: Graph[_Node], max_iter: int = 30, label_name: str = "label"): ...
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def local_and_global_consistency(G, alpha: float = 0.99, max_iter: int = 30, label_name: str = "label"): ...
|
|
7
|
+
def local_and_global_consistency(G: Graph[_Node], alpha: float = 0.99, max_iter: int = 30, label_name: str = "label"): ...
|
|
@@ -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 non_randomness(G, k:
|
|
5
|
+
def non_randomness(G: Graph[_Node], k: int | None = None, weight: str | None = "weight"): ...
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Iterable
|
|
3
|
+
|
|
1
4
|
from networkx.utils.backends import _dispatchable
|
|
2
5
|
|
|
3
6
|
@_dispatchable
|
|
4
|
-
def union_all(graphs, rename=()): ...
|
|
7
|
+
def union_all(graphs: Iterable[Incomplete], rename: Iterable[Incomplete] | None = ()): ...
|
|
5
8
|
@_dispatchable
|
|
6
|
-
def disjoint_union_all(graphs): ...
|
|
9
|
+
def disjoint_union_all(graphs: Iterable[Incomplete]): ...
|
|
7
10
|
@_dispatchable
|
|
8
|
-
def compose_all(graphs): ...
|
|
11
|
+
def compose_all(graphs: Iterable[Incomplete]): ...
|
|
9
12
|
@_dispatchable
|
|
10
|
-
def intersection_all(graphs): ...
|
|
13
|
+
def intersection_all(graphs: Iterable[Incomplete]): ...
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Hashable, Iterable
|
|
2
3
|
from typing import TypeVar
|
|
3
4
|
|
|
4
5
|
from networkx.classes.digraph import DiGraph
|
|
6
|
+
from networkx.classes.graph import Graph, _Node
|
|
5
7
|
from networkx.utils.backends import _dispatchable
|
|
6
8
|
|
|
7
9
|
@_dispatchable
|
|
8
|
-
def disjoint_union(G, H): ...
|
|
10
|
+
def disjoint_union(G: Graph[_Node], H: Graph[_Node]): ...
|
|
9
11
|
@_dispatchable
|
|
10
|
-
def intersection(G, H): ...
|
|
12
|
+
def intersection(G: Graph[_Node], H: Graph[_Node]): ...
|
|
11
13
|
@_dispatchable
|
|
12
|
-
def difference(G, H): ...
|
|
14
|
+
def difference(G: Graph[_Node], H: Graph[_Node]): ...
|
|
13
15
|
@_dispatchable
|
|
14
|
-
def symmetric_difference(G, H): ...
|
|
16
|
+
def symmetric_difference(G: Graph[_Node], H: Graph[_Node]): ...
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
# GT = TypeVar('GT', bound=Graph[_Node])
|
|
19
|
-
# TODO: This does not handle the cases when graphs of different types are passed which is allowed
|
|
18
|
+
_X_co = TypeVar("_X_co", bound=Hashable, covariant=True)
|
|
19
|
+
_Y_co = TypeVar("_Y_co", bound=Hashable, covariant=True)
|
|
20
20
|
|
|
21
21
|
@_dispatchable
|
|
22
|
-
def compose(G:
|
|
22
|
+
def compose(G: Graph[_X_co], H: Graph[_Y_co]) -> DiGraph[_X_co | _Y_co]: ...
|
|
23
23
|
@_dispatchable
|
|
24
|
-
def union(G:
|
|
24
|
+
def union(G: Graph[_X_co], H: Graph[_Y_co], rename: Iterable[Incomplete] | None = ()) -> DiGraph[_X_co | _Y_co]: ...
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
+
from collections.abc import Hashable
|
|
2
|
+
from typing import TypeVar
|
|
3
|
+
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
5
|
from networkx.utils.backends import _dispatchable
|
|
2
6
|
|
|
7
|
+
_X = TypeVar("_X", bound=Hashable)
|
|
8
|
+
_Y = TypeVar("_Y", bound=Hashable)
|
|
9
|
+
|
|
3
10
|
@_dispatchable
|
|
4
|
-
def tensor_product(G, H): ...
|
|
11
|
+
def tensor_product(G: Graph[_X], H: Graph[_Y]) -> Graph[tuple[_X, _Y]]: ...
|
|
5
12
|
@_dispatchable
|
|
6
|
-
def cartesian_product(G, H): ...
|
|
13
|
+
def cartesian_product(G: Graph[_X], H: Graph[_Y]) -> Graph[tuple[_X, _Y]]: ...
|
|
7
14
|
@_dispatchable
|
|
8
|
-
def lexicographic_product(G, H): ...
|
|
15
|
+
def lexicographic_product(G: Graph[_X], H: Graph[_Y]) -> Graph[tuple[_X, _Y]]: ...
|
|
9
16
|
@_dispatchable
|
|
10
|
-
def strong_product(G, H): ...
|
|
17
|
+
def strong_product(G: Graph[_X], H: Graph[_Y]) -> Graph[tuple[_X, _Y]]: ...
|
|
11
18
|
@_dispatchable
|
|
12
|
-
def power(G, k): ...
|
|
19
|
+
def power(G: Graph[_Node], k): ...
|
|
13
20
|
@_dispatchable
|
|
14
|
-
def rooted_product(G, H, root): ...
|
|
21
|
+
def rooted_product(G: Graph[_X], H: Graph[_Y], root: _Y) -> Graph[tuple[_X, _Y]]: ...
|
|
15
22
|
@_dispatchable
|
|
16
|
-
def corona_product(G, H): ...
|
|
23
|
+
def corona_product(G: Graph[_X], H: Graph[_Y]) -> Graph[tuple[_X, _Y]]: ...
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
from collections.abc import Hashable
|
|
2
2
|
from typing import TypeVar
|
|
3
3
|
|
|
4
|
-
from networkx.classes.graph import Graph
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
5
5
|
from networkx.utils.backends import _dispatchable
|
|
6
6
|
|
|
7
7
|
_G = TypeVar("_G", bound=Graph[Hashable])
|
|
8
8
|
|
|
9
9
|
@_dispatchable
|
|
10
|
-
def complement(G): ...
|
|
10
|
+
def complement(G: Graph[_Node]): ...
|
|
11
11
|
@_dispatchable
|
|
12
12
|
def reverse(G: _G, copy: bool = True) -> _G: ...
|
|
@@ -2,19 +2,20 @@ from _typeshed import Incomplete
|
|
|
2
2
|
from collections.abc import Generator, Mapping, MutableSet, Reversible
|
|
3
3
|
|
|
4
4
|
from networkx.classes.digraph import DiGraph
|
|
5
|
-
from networkx.classes.graph import _Node
|
|
5
|
+
from networkx.classes.graph import Graph, _Node
|
|
6
6
|
from networkx.utils.backends import _dispatchable
|
|
7
7
|
|
|
8
8
|
__all__ = ["check_planarity", "is_planar", "PlanarEmbedding"]
|
|
9
9
|
|
|
10
10
|
@_dispatchable
|
|
11
|
-
def is_planar(G) -> bool: ...
|
|
11
|
+
def is_planar(G: Graph[_Node]) -> bool: ...
|
|
12
12
|
@_dispatchable
|
|
13
|
-
def check_planarity(G, counterexample: bool = False): ...
|
|
13
|
+
def check_planarity(G: Graph[_Node], counterexample: bool = False): ...
|
|
14
14
|
|
|
15
15
|
class Interval:
|
|
16
16
|
low: Incomplete
|
|
17
17
|
high: Incomplete
|
|
18
|
+
|
|
18
19
|
def __init__(self, low: Incomplete | None = None, high: Incomplete | None = None) -> None: ...
|
|
19
20
|
def empty(self): ...
|
|
20
21
|
def copy(self): ...
|
|
@@ -23,6 +24,7 @@ class Interval:
|
|
|
23
24
|
class ConflictPair:
|
|
24
25
|
left: Incomplete
|
|
25
26
|
right: Incomplete
|
|
27
|
+
|
|
26
28
|
def __init__(self, left=..., right=...) -> None: ...
|
|
27
29
|
def swap(self) -> None: ...
|
|
28
30
|
def lowest(self, planarity_state): ...
|
|
@@ -46,6 +48,7 @@ class LRPlanarity:
|
|
|
46
48
|
left_ref: Incomplete
|
|
47
49
|
right_ref: Incomplete
|
|
48
50
|
embedding: Incomplete
|
|
51
|
+
|
|
49
52
|
def __init__(self, G) -> None: ...
|
|
50
53
|
def lr_planarity(self): ...
|
|
51
54
|
def lr_planarity_recursive(self): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.utils.backends import _dispatchable
|
|
2
3
|
|
|
3
4
|
@_dispatchable
|
|
4
|
-
def tutte_polynomial(G): ...
|
|
5
|
+
def tutte_polynomial(G: Graph[_Node]): ...
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def chromatic_polynomial(G): ...
|
|
7
|
+
def chromatic_polynomial(G: Graph[_Node]): ...
|
|
@@ -1,8 +1,9 @@
|
|
|
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
|
-
def reciprocity(G, nodes:
|
|
7
|
+
def reciprocity(G: Graph[_Node], nodes: Iterable[_Node] | None = None): ...
|
|
7
8
|
@_dispatchable
|
|
8
|
-
def overall_reciprocity(G): ...
|
|
9
|
+
def overall_reciprocity(G: Graph[_Node]): ...
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.utils.backends import _dispatchable
|
|
2
3
|
|
|
3
4
|
@_dispatchable
|
|
4
|
-
def is_regular(G): ...
|
|
5
|
+
def is_regular(G: Graph[_Node]): ...
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def is_k_regular(G, k): ...
|
|
7
|
+
def is_k_regular(G: Graph[_Node], k): ...
|
|
7
8
|
@_dispatchable
|
|
8
|
-
def k_factor(G, k, matching_weight: str = "weight"): ...
|
|
9
|
+
def k_factor(G: Graph[_Node], k, matching_weight: str | None = "weight"): ...
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
def rich_club_coefficient(G, normalized: bool = True, Q: float = 100, seed:
|
|
6
|
+
def rich_club_coefficient(G: Graph[_Node], normalized: bool = True, Q: float = 100, seed: int | RandomState | None = None): ...
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from typing import Any
|
|
2
4
|
|
|
5
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
6
|
from networkx.utils.backends import _dispatchable
|
|
4
7
|
|
|
5
8
|
@_dispatchable
|
|
6
|
-
def astar_path(
|
|
9
|
+
def astar_path(
|
|
10
|
+
G: Graph[_Node],
|
|
11
|
+
source: _Node,
|
|
12
|
+
target: _Node,
|
|
13
|
+
heuristic: Callable[..., Incomplete] | None = None,
|
|
14
|
+
weight: str | Callable[[Any, Any, SupportsGetItem[str, Any]], float | None] | None = "weight",
|
|
15
|
+
*,
|
|
16
|
+
cutoff: float | None = None,
|
|
17
|
+
): ...
|
|
7
18
|
@_dispatchable
|
|
8
|
-
def astar_path_length(
|
|
19
|
+
def astar_path_length(
|
|
20
|
+
G: Graph[_Node],
|
|
21
|
+
source: _Node,
|
|
22
|
+
target: _Node,
|
|
23
|
+
heuristic: Callable[..., Incomplete] | None = None,
|
|
24
|
+
weight: str | Callable[[Any, Any, SupportsGetItem[str, Any]], float | None] | None = "weight",
|
|
25
|
+
*,
|
|
26
|
+
cutoff: float | None = None,
|
|
27
|
+
): ...
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, SupportsGetItem
|
|
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 floyd_warshall_numpy(G, nodelist: Incomplete | None = None, weight: str = "weight"): ...
|
|
8
|
+
def floyd_warshall_numpy(G: Graph[_Node], nodelist: Iterable[Incomplete] | None = None, weight: str | None = "weight"): ...
|
|
7
9
|
@_dispatchable
|
|
8
|
-
def floyd_warshall_predecessor_and_distance(G, weight: str = "weight"): ...
|
|
10
|
+
def floyd_warshall_predecessor_and_distance(G: Graph[_Node], weight: str | None = "weight"): ...
|
|
9
11
|
@_dispatchable
|
|
10
|
-
def reconstruct_path(source, target, predecessors): ...
|
|
12
|
+
def reconstruct_path(source: _Node, target: _Node, predecessors: SupportsGetItem[Incomplete, Incomplete]): ...
|
|
11
13
|
@_dispatchable
|
|
12
|
-
def floyd_warshall(G, weight: str = "weight"): ...
|
|
14
|
+
def floyd_warshall(G: Graph[_Node], weight: str | None = "weight"): ...
|