Skip to content

Commit

Permalink
Remove not needed typing.Union
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente committed Mar 6, 2024
1 parent 5eb2bef commit 25db321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _on_config_changed(self, event: ops.ConfigChangedEvent) -> None:
self.unit.status = ops.BlockedStatus("invalid log level: '{log_level}'")

@property
def _pebble_layer(self) -> typing.Union[pebble.LayerDict]:
def _pebble_layer(self) -> pebble.LayerDict:
"""Return a dictionary representing a Pebble layer."""
return {
"summary": "httpbin layer",
Expand Down

0 comments on commit 25db321

Please sign in to comment.