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

QuantEcon / QuantEcon.py / 13297490387

13 Feb 2025 12:13AM UTC coverage: 93.123%. Remained the same
13297490387

push

github

web-flow
RLS: setup for v0.8.0 (#765)

1 of 1 new or added line in 1 file covered. (100.0%)

7881 of 8463 relevant lines covered (93.12%)

2.69 hits per line

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

0.0
/quantecon/dle.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 _dle
×
7

8

9
__all__ = ['DLE']
×
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.dle` is deprecated and has no attribute "
20
                f"'{name}'."
21
            )
22

23
    warnings.warn(f"Please use `{name}` from the `quantecon` namespace, "
×
24
                  "the `quantecon.dle` 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(_dle, 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