Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bokeh 3.0用のコードを削除 #1317

Merged
merged 4 commits into from
Jan 7, 2025
Merged

bokeh 3.0用のコードを削除 #1317

merged 4 commits into from
Jan 7, 2025

Conversation

yuji38kwmt
Copy link
Collaborator

@yuji38kwmt yuji38kwmt commented Jan 7, 2025

@yuji38kwmt yuji38kwmt changed the title Bokeh versionup bokeh 3.0用のコードを削除 Jan 7, 2025
Comment on lines -150 to -161
def download_json_files(self, project_id: str, output_dir: Path, is_latest: bool) -> None: # noqa: FBT001
loop = asyncio.get_event_loop()
def download_json_files(self, project_id: str, output_dir: Path, *, is_latest: bool) -> None:
downloading_obj = DownloadingFile(self.service)
gather = asyncio.gather(
downloading_obj.download_input_data_json_with_async(
project_id,
dest_path=str(output_dir / "input_data.json"),
is_latest=is_latest,
),
downloading_obj.download_task_json_with_async(project_id, dest_path=str(output_dir / "task.json"), is_latest=is_latest),
downloading_obj.download_input_data_json(
project_id,
dest_path=str(output_dir / "input_data.json"),
is_latest=is_latest,
)
loop.run_until_complete(gather)
Copy link
Collaborator Author

@yuji38kwmt yuji38kwmt Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

以下の警告が発生したので、asyncで実行しないようにした。

tests/test_input_data.py::TestCommandLine::test_list_input_data_merged_task
  /home/yuji/workspace/github.com/annofab-cli/annofabcli/input_data/list_all_input_data_merged_task.py:151: DeprecationWarning: There is no current event loop
    loop = asyncio.get_event_loop()

@yuji38kwmt yuji38kwmt merged commit ba11e7c into main Jan 7, 2025
8 checks passed
@yuji38kwmt yuji38kwmt deleted the bokeh-versionup branch January 7, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant