Skip to content

Broken .to_csv function #733

@Postiii

Description

@Postiii

Description of the issue

When using the mastr.py, I do receive an error when calling the to_csv() function after upgrading from v0.16.1 to v0.17.0:

NameError: name 'kwargs' is not defined

It refers to mastr.py line 287:
https://github.com/OpenEnergyPlatform/open-MaStR/blob/develop/open_mastr/mastr.py#L287

Steps to Reproduce

Just bulk download and use to_csv with version 0.17.0.

Ideas of solution

In comparison to „download“ function, to_csv function has no parameter **kwargs when calling the function.

Context and Environment

  • Version used: v0.17.0
  • Operating system: Linux
  • Environment setup and (python) version: Databricks, Spark 17.3x-scala2.13 (python 3.12.3)

Workflow checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions