def from_dict(cls, obj: dict) -> AutoTaskTilingAllOf:
        """Create an instance of AutoTaskTilingAllOf from a dict"""
        if obj is None:
            return None

        if not isinstance(obj, dict):
            return AutoTaskTilingAllOf.parse_obj(obj)

        # raise errors for additional fields in the input
        for _key in obj.keys():
            if _key not in cls.__properties:
                raise ValueError("Error due to additional fields (not defined in AutoTaskTilingAllOf) in the input: " + str(obj))

        _obj = AutoTaskTilingAllOf.parse_obj({
            "num_rows": obj.get("numRows"),
            "num_cols": obj.get("numCols"),
            "overlap": obj.get("overlap") if obj.get("overlap") is not None else 0.0
        })
        return _obj
Create an instance of AutoTaskTilingAllOf from a dict
lightly/openapi_generated/swagger_client/models/auto_task_tiling_all_of.py