Skip to content

Commit 928aaed

Browse files
chore: remove unnecesary copyright headers (#440)
* chore: remove unnecesary copyright headers Signed-off-by: Peter Staar <taa@zurich.ibm.com> * reformatted, still need to fix a test ... Signed-off-by: Peter Staar <taa@zurich.ibm.com> --------- Signed-off-by: Peter Staar <taa@zurich.ibm.com>
1 parent 3b253c1 commit 928aaed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+37
-320
lines changed

docling_core/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Main package."""

docling_core/cli/view.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""CLI for docling viewer."""
2+
73
import importlib
84
import tempfile
95
import webbrowser
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2025
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Experimental features."""

docling_core/search/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Package for models and utility functions for search database mappings."""

docling_core/search/json_schema_to_search_mapper.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Methods to convert a JSON Schema into a search database schema."""
2+
73
import re
84
from copy import deepcopy
95
from typing import Any, Optional, Pattern, Tuple, TypedDict

docling_core/search/mapping.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Methods to define fields in an index mapping of a search database."""
2+
73
from typing import Any, Optional
84

95

docling_core/search/meta.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Models and methods to define the metadata fields in database index mappings."""
2+
73
from pathlib import Path
84
from typing import Generic, Optional, TypeVar
95

docling_core/search/package.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Models and methods to define a package model."""
72

83
import importlib.metadata
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Data transformations package."""

docling_core/transforms/chunker/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
#
2-
# Copyright IBM Corp. 2024 - 2024
3-
# SPDX-License-Identifier: MIT
4-
#
5-
61
"""Define the chunker types."""
72

83
from docling_core.transforms.chunker.base import BaseChunk, BaseChunker, BaseMeta

0 commit comments

Comments
 (0)