test-fullautomation / python-jsonpreprocessor

A preprocessor for json files
Apache License 2.0
2 stars 2 forks source link

Code clarification wanted #217

Open HolQue opened 4 months ago

HolQue commented 4 months ago

The constructor of class CJsonPreprocessor gets an optional parameter "currentCfg". The interface description tells: "Internally used to aggregate imported json files."

What exactly is the meaning of this parameter? What is the use case? I have not found any example.

Why is this parameter an input parameter for the constructor? Constructor parameter are the interface to the users of this class. But the parameter is described as "Internally used". What have users to do with this parameter when this is an internal thing?