Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

move py.typed to correct places#403

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kravets-levko merged 7 commits intodatabricks:mainfromwyattscarpenter:main
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion.github/workflows/code-quality-checks.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -160,4 +160,7 @@ jobs:
# mypy the code
#----------------------------------------------
- name: Mypy
run: poetry run mypy --install-types --non-interactive src
run: |
cd src # Need to be in the actual databricks/ folder or mypy does the wrong thing.
mkdir .mypy_cache # Workaround for bad error message "error: --install-types failed (no mypy cache directory)"; see https://github.com/python/mypy/issues/10768#issuecomment-2178450153
poetry run mypy --config-file ../pyproject.toml --install-types --non-interactive --namespace-packages databricks
File renamed without changes.
7 changes: 3 additions & 4 deletionssrc/databricks/sql/utils.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@
from collections.abc import Iterable
from decimal import Decimal
from enum import Enum
from typing import Any, Dict, List, Union
from typing import Any, Dict, List,Optional,Union
import re

import lz4.frame
Expand DownExpand Up@@ -134,7 +134,7 @@ def __init__(
schema_bytes,
max_download_threads: int,
start_row_offset: int = 0,
result_links: List[TSparkArrowResultLink] = None,
result_links:Optional[List[TSparkArrowResultLink]] = None,
lz4_compressed: bool = True,
description: List[List[Any]] = None,
):
Expand DownExpand Up@@ -168,11 +168,10 @@ def __init__(
result_link.startRowOffset, result_link.rowCount
)
)

self.download_manager = ResultFileDownloadManager(
self.max_download_threads, self.lz4_compressed
)
self.download_manager.add_file_links(result_links)
self.download_manager.add_file_links(result_links or [])

self.table = self._create_next_table()
self.table_row_index = 0
Expand Down
View file
Open in desktop
Empty file.

[8]ページ先頭

©2009-2025 Movatter.jp