Skip to content

Calling create-extract with embedded_datasources empty throws an error #1014

Closed

Description

@jacalata

Calling create-extract with embedded_datasources empty throws an error 'NoneType' object is not iterable

development branch

           try:
                job = server.workbooks.create_extract(workbook_item,  encrypt=args.encrypt,   includeAll=args.include_all   datasources=args.embedded_datasources, )
            except Exception as ex:
                print(ex)

output: 'NoneType' object is not iterable

fix: datasources should have a default value of []

Activity

  1. jacalata commented on May 5, 2022

    @jacalata
    ContributorAuthor

    fixed by #1026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions