Skip to content

Commit

Permalink
Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
  • Loading branch information
asasvari and xrmx authored Jul 14, 2024
1 parent 12702cf commit 26ad2c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ def get_empty() -> "Resource":

@property
def attributes(self) -> Attributes:
if self._attributes is None:
raise ValueError("Attributes are not set.")
return self._attributes

@property
Expand Down

0 comments on commit 26ad2c9

Please sign in to comment.