Skip to content

Commit 232c133

Browse files
committed
dummy -> template
1 parent f4f251b commit 232c133

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

astroquery/template_module/core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121

2222

2323
# export all the public classes and methods
24-
__all__ = ['Dummy', 'DummyClass']
24+
__all__ = ['Template', 'TemplateClass']
2525

2626
# declare global variables and constants if any
2727

2828

2929
# Now begin your main class
3030
# should be decorated with the async_to_sync imported previously
3131
@async_to_sync
32-
class DummyClass(BaseQuery):
32+
class TemplateClass(BaseQuery):
3333

3434
"""
3535
Not all the methods below are necessary but these cover most of the common
@@ -57,7 +57,7 @@ def query_object(object_name, get_query_payload=False)
5757
def query_object_async(self, object_name, get_query_payload=False):
5858
"""
5959
This method is for services that can parse object names. Otherwise
60-
use :meth:`astroquery.template_module.DummyClass.query_region`.
60+
use :meth:`astroquery.template_module.TemplateClass.query_region`.
6161
Put a brief description of what the class does here.
6262
6363
Parameters
@@ -306,7 +306,7 @@ def extract_image_urls(self, html_str):
306306
pass
307307

308308
# the default tool for users to interact with is an instance of the Class
309-
Dummy = DummyClass()
309+
Template = TemplateClass()
310310

311311
# once your class is done, tests should be written
312312
# See ./tests for examples on this

0 commit comments

Comments
 (0)