Skip to content

Commit

Permalink
Changing class name for PEP8 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
astronomerritt committed Sep 17, 2024
1 parent 9972ee4 commit 79bc1a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/adler/dataclasses/AdlerPlanetoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from adler.dataclasses.AdlerData import AdlerData
from adler.dataclasses.dataclass_utilities import get_data_table

from adler.lasair.cassandra_fetcher import cassandra_fetcher
from adler.lasair.cassandra_fetcher import CassandraFetcher

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -123,7 +123,7 @@ def construct_from_cassandra(
cls, ssObjectId, filter_list=["u", "g", "r", "i", "z", "y"], date_range=[60000.0, 67300.0]
): # pragma: no cover

fetcher = cassandra_fetcher(cassandra_hosts=["10.21.3.123"])
fetcher = CassandraFetcher(cassandra_hosts=["10.21.3.123"])

MPCORB_dict = fetcher.fetch_MPCORB(ssObjectId)
SSObject_dict = fetcher.fetch_SSObject(ssObjectId, filter_list)
Expand Down
2 changes: 1 addition & 1 deletion src/adler/lasair/cassandra_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from cassandra.query import dict_factory, SimpleStatement


class cassandra_fetcher: # pragma: no cover
class CassandraFetcher: # pragma: no cover
def __init__(self, cassandra_hosts):
self.cluster = Cluster(cassandra_hosts)
self.session = self.cluster.connect()
Expand Down

0 comments on commit 79bc1a8

Please sign in to comment.