Skip to content

Commit

Permalink
Add optional type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAntoine committed Jun 25, 2024
1 parent 55c9eec commit aac2125
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datascience/src/pipeline/entities/fleet_segments.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from dataclasses import dataclass
from typing import Optional


@dataclass
class FishingGear:
code: str
name: str
mesh: float = None
mesh: Optional[float] = None


@dataclass
Expand Down

0 comments on commit aac2125

Please sign in to comment.