Skip to content

Commit

Permalink
refactor: data
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Aug 26, 2024
1 parent 9706c07 commit ea07d31
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/ape/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,24 @@
convert = _ManagerAccessMixin.conversion_manager.convert
"""Conversion utility function. See :class:`ape.managers.converters.ConversionManager`."""

data = _ManagerAccessMixin.query_manager
"""Query chain data."""

reverts = RevertsContextManager
"""
Catch and expect contract logic reverts. Resembles ``pytest.raises()``.
"""

queries = _ManagerAccessMixin.query_manager
"""
Query chain data.
"""


__all__ = [
"accounts",
"chain",
"compilers",
"config",
"convert",
"Contract",
"data",
"networks",
"project",
"Project", # So you can load other projects
"reverts",
"queries",
]

0 comments on commit ea07d31

Please sign in to comment.