• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

QuantEcon / QuantEcon.py / 12270353002

11 Dec 2024 05:35AM UTC coverage: 93.116%. Remained the same
12270353002

Pull #750

github

web-flow
Merge 73f785418 into b733469ca
Pull Request #750: CI: Update `actions/cache`

7805 of 8382 relevant lines covered (93.12%)

2.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/quantecon/graph_tools.py
1
# This file is not meant for public use and will be removed v0.8.0.
2
# Use the `quantecon` namespace for importing the objects
3
# included below.
4

5
import warnings
×
6
from . import _graph_tools
×
7

8

9
__all__ = ['DiGraph', 'random_tournament_graph', 'annotate_nodes']
×
10

11

12
def __dir__():
×
13
    return __all__
×
14

15

16
def __getattr__(name):
×
17
    if name not in __all__:
×
18
        raise AttributeError(
×
19
                "`quantecon.graph_tools` is deprecated and has no attribute "
20
                f"'{name}'."
21
            )
22

23
    warnings.warn(f"Please use `{name}` from the `quantecon` namespace, the"
×
24
                  "`quantecon.graph_tools` namespace is deprecated. You can use"
25
                  f" the following instead:\n `from quantecon import {name}`.",
26
                  category=DeprecationWarning, stacklevel=2)
27

28
    return getattr(_graph_tools, name)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc