From ea07d3156620e6fcf52826c717f33e21444cea46 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Mon, 26 Aug 2024 13:04:38 -0500 Subject: [PATCH] refactor: data --- src/ape/__init__.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/ape/__init__.py b/src/ape/__init__.py index effc626d9f..fed990d4f9 100644 --- a/src/ape/__init__.py +++ b/src/ape/__init__.py @@ -46,17 +46,14 @@ 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", @@ -64,9 +61,9 @@ "config", "convert", "Contract", + "data", "networks", "project", "Project", # So you can load other projects "reverts", - "queries", ]