Azure / autorest.az

Azure CLI Code Generator
MIT License
22 stars 20 forks source link

Repeated Keyword Argument In Teams Extensions #822

Open jobala opened 3 years ago

jobala commented 3 years ago

Command mg teams team create --display-name team --description team

Stacktrace

ERROR: keyword argument repeated: sharepoint_ids (_team_channel_operations.py, line 437)
Traceback (most recent call last):
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/Users/jobala/Desktop/workspace/microsoft/msgraph-cli/msgraph/cli/core/invocation.py", line 174, in execute
    raise ex
  File "/Users/jobala/Desktop/workspace/microsoft/msgraph-cli/msgraph/cli/core/invocation.py", line 212, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/Users/jobala/Desktop/workspace/microsoft/msgraph-cli/msgraph/cli/core/invocation.py", line 265, in _run_job
    six.reraise(*sys.exc_info())
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/six.py", line 703, in reraise
    raise value
  File "/Users/jobala/Desktop/workspace/microsoft/msgraph-cli/msgraph/cli/core/invocation.py", line 233, in _run_job
    result = cmd_copy(params)
  File "/Users/jobala/Desktop/workspace/microsoft/msgraph-cli/msgraph/cli/core/commands/__init__.py", line 171, in __call__
    return self.handler(*args, **kwargs)
  File "/Users/jobala/Desktop/workspace/microsoft/msgraph-cli/msgraph/cli/core/command_loaders/extension.py", line 80, in default_command_handler
    client = client_factory(cmd.cli_ctx, command_args) if client_factory else None
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/azext_teams_beta/generated/_client_factory.py", line 62, in cf_team_team
    return cf_teams_beta_cl(cli_ctx).team_team
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/azext_teams_beta/generated/_client_factory.py", line 14, in cf_teams_beta_cl
    from azext_teams_beta.vendored_sdks.teams import Teams
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/azext_teams_beta/vendored_sdks/teams/__init__.py", line 9, in <module>
    from ._teams import Teams
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/azext_teams_beta/vendored_sdks/teams/_teams.py", line 21, in <module>
    from .operations import AppCatalogOperations
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/azext_teams_beta/vendored_sdks/teams/operations/__init__.py", line 21, in <module>
    from ._team_channel_operations import TeamChannelOperations
  File "/Users/jobala/.local/share/virtualenvs/msgraph-cli-_43w39vp/lib/python3.9/site-packages/azext_teams_beta/vendored_sdks/teams/operations/_team_channel_operations.py", line 437
    nfo, folder=folder, id_remote_item_id=microsoft_graph_remote_item_id, image_remote_item_image=microsoft_graph_image, last_modified_by=last_modified_by, last_modified_date_time_remote_item_last_modified_date_time=microsoft_graph_remote_item_last_modified_date_time_last_modified_date_time, name_remote_item_name=microsoft_graph_remote_item_name, package=package, parent_reference=parent_reference, shared=shared, sharepoint_ids_remote_item_sharepoint_ids=sharepoint_ids1, size_remote_item_size=integer_size, special_folder=special_folder, video_remote_item_video=microsoft_graph_video, web_dav_url_remote_item_web_dav_url=microsoft_graph_remote_item_web_dav_url_web_dav_url, web_url_remote_item_web_url=microsoft_graph_remote_item_web_url, queued_date_time=queued_date_time, type=type, child_count_folder_child_count=child_count, view=view, hashes=hashes, mime_type=mime_type, processing_metadata=processing_metadata, state=state, album=album, child_count_bundle_child_count=integer_child_count)