Skip to content

Commit

Permalink
fixup! remove redundant default_operation_type
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioSim committed Nov 6, 2023
1 parent 114faa2 commit 4b073eb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/ralph/backends/data/async_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class AsyncESDataBackend(BaseAsyncDataBackend, AsyncWritable, AsyncListable):
name = "async_es"
query_model = ESQuery
settings_class = ESDataBackendSettings
default_operation_type = BaseOperationType.INDEX

def __init__(self, settings: Optional[ESDataBackendSettings] = None):
"""Instantiate the asynchronous Elasticsearch client.
Expand Down
1 change: 0 additions & 1 deletion src/ralph/backends/data/async_mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class AsyncMongoDataBackend(BaseAsyncDataBackend, AsyncWritable, AsyncListable):
name = "async_mongo"
query_model = MongoQuery
settings_class = MongoDataBackendSettings
default_operation_type = BaseOperationType.INDEX

def __init__(self, settings: Optional[MongoDataBackendSettings] = None):
"""Instantiate the asynchronous MongoDB client.
Expand Down

0 comments on commit 4b073eb

Please sign in to comment.