Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWang committed May 13, 2024
1 parent f3389d3 commit 1af4e40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/client-python/gravitino/name_identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Copyright 2024 Datastrato Pvt Ltd.
This software is licensed under the Apache License version 2.
"""

from typing import ClassVar

from dataclasses import dataclass, field
Expand All @@ -21,12 +22,12 @@ class NameIdentifier(DataClassJsonMixin):
"metalake1.catalog1" can represent a catalog, "metalake1.catalog1.schema1" can represent a
schema.
"""

_DOT: ClassVar[str] = "."

_name: str = field(metadata=config(field_name="name"))
_namespace: Namespace = field(metadata=config(field_name="namespace"))


@classmethod
def builder(cls, namespace: Namespace, name: str):
return NameIdentifier(_namespace=namespace, _name=name)
Expand Down

0 comments on commit 1af4e40

Please sign in to comment.