@@ -60,7 +60,7 @@ class Entity:
6060 def __init__ (
6161 self ,
6262 * ,
63- name : Optional [ str ] = None ,
63+ name : str ,
6464 join_keys : Optional [List [str ]] = None ,
6565 description : str = "" ,
6666 tags : Optional [Dict [str , str ]] = None ,
@@ -71,20 +71,17 @@ def __init__(
7171
7272 Args:
7373 name: The unique name of the entity.
74- join_keys: A list of properties that uniquely identifies different entities within the
75- collection. This currently only supports a list of size one, but is intended to
76- eventually support multiple join keys.
77- description: A human-readable description.
78- tags: A dictionary of key-value pairs to store arbitrary metadata.
79- owner: The owner of the entity, typically the email of the primary maintainer.
74+ join_keys (optional) : A list of properties that uniquely identifies different entities
75+ within the collection. This currently only supports a list of size one, but is
76+ intended to eventually support multiple join keys.
77+ description (optional) : A human-readable description.
78+ tags (optional) : A dictionary of key-value pairs to store arbitrary metadata.
79+ owner (optional) : The owner of the entity, typically the email of the primary maintainer.
8080
8181 Raises:
8282 ValueError: Parameters are specified incorrectly.
8383 """
84- if not name :
85- raise ValueError ("Name needs to be specified" )
8684 self .name = name
87-
8885 self .value_type = ValueType .UNKNOWN
8986
9087 # For now, both the `join_key` and `join_keys` attributes are set correctly,
0 commit comments