Skip to content

Commit

Permalink
Commented out the properties that are not in v2 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Jun 26, 2024
1 parent fbced86 commit 241d61a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dplib/models/dialect/dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Dialect(Model):
)
"""A profile URL"""

type: Optional[str] = None
# type: Optional[str] = None
"""
Type of the dialect e.g. "delimited"
"""
Expand Down
19 changes: 10 additions & 9 deletions dplib/models/schema/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

from ... import settings, types
from ...system import Model
from ..contributor import Contributor

# from ..contributor import Contributor
from ..field import IField
from ..missingValues import IMissingValues
from .foreignKey import ForeignKey
Expand All @@ -22,43 +23,43 @@ class Schema(Model):
)
"""A profile URL"""

name: Optional[str] = None
# name: Optional[str] = None
"""
A simple name or identifier as for Data Package
"""

title: Optional[str] = None
# title: Optional[str] = None
"""
A string providing a title or one sentence description for this schema
"""

description: Optional[str] = None
# description: Optional[str] = None
"""
A description of the schema. The description MUST be markdown formatted —
this also allows for simple plain text as plain text is itself valid markdown.
"""

homepage: Optional[str] = None
# homepage: Optional[str] = None
"""
A URL for the home on the web that is related to this data package.
"""

keywords: List[str] = []
# keywords: List[str] = []
"""
The `keywords` property is a list of short keywords related to the schema.
"""

examples: List[dict[str, str]] = []
# examples: List[dict[str, str]] = []
"""
The `examples` property contains links to example data resources.
"""

version: Optional[str] = None
# version: Optional[str] = None
"""
The `version` property stores the version of the schema
"""

contributors: List[Contributor] = []
# contributors: List[Contributor] = []
"""
The people or organizations who contributed to this Table Schema.
"""
Expand Down

0 comments on commit 241d61a

Please sign in to comment.