Skip to content

Commit

Permalink
Partial revert of 0758419
Browse files Browse the repository at this point in the history
An "import *" was removed in above commit.  Yes, "import *" is bad
practice - but since those things are reimported other places, we
can't remove it in a minor release.  First we need some kind of
deprecation notice, then we need to remove it when doing a major
release.  I aim for every major release to be backward compatible
with everything that wasn't marked as deprecated in the previous
x.0.0 major release, so 3.0 is the earliest we can remove this.
  • Loading branch information
tobixen committed Apr 13, 2024
1 parent d3d56ad commit 6c424e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caldav/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"You need to install the `build` package and do a `python -m build` to get caldav.__version__ set correctly"
)
from .davclient import DAVClient
from .objects import * ## This should go away in version 2.0. TODO: fix some system for deprecation notices

## TODO: this should go away in some future version of the library.
## How to make deprecation notices?
Expand Down

0 comments on commit 6c424e7

Please sign in to comment.