Skip to content

Commit 0c13ef0

Browse files
committed
fixed copy paste
1 parent ca598bd commit 0c13ef0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

nodescraper/models/analyzerargs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AnalyzerArgs(BaseModel):
3131

3232
@classmethod
3333
def build_from_model(cls, datamodel):
34-
"""Build collector args instance from data model object
34+
"""Build analyzer args instance from data model object
3535
3636
Args:
3737
datamodel (TDataModel): data model to use for creating analyzer args
@@ -40,5 +40,5 @@ def build_from_model(cls, datamodel):
4040
NotImplementedError: Not implemented error
4141
"""
4242
raise NotImplementedError(
43-
"Setting collector args from datamodel is not implemented for class: %s", cls.__name__
43+
"Setting analyzer args from datamodel is not implemented for class: %s", cls.__name__
4444
)

nodescraper/models/collectorargs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ class CollectorArgs(BaseModel):
3131

3232
@classmethod
3333
def build_from_model(cls, datamodel):
34-
"""Build analyzer args instance from data model object
34+
"""Build collector args instance from data model object
3535
3636
Args:
37-
datamodel (TDataModel): data model to use for creating analyzer args
37+
datamodel (TDataModel): data model to use for creating collector args
3838
3939
Raises:
4040
NotImplementedError: Not implemented error
4141
"""
4242
raise NotImplementedError(
43-
"Setting analyzer args from datamodel is not implemented for class: %s", cls.__name__
43+
"Setting collector args from datamodel is not implemented for class: %s", cls.__name__
4444
)

0 commit comments

Comments
 (0)