Skip to content

Commit a83c67b

Browse files
committed
Add type hint to XmlModel.XML_TAG
1 parent acacc31 commit a83c67b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osc/util/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def has_changed(self):
474474

475475

476476
class XmlModel(BaseModel):
477-
XML_TAG = None
477+
XML_TAG: Optional[str] = None
478478

479479
_apiurl: Optional[str] = Field(
480480
exclude=True,

0 commit comments

Comments
 (0)