File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 22
33## Project setup
44
5- 1 . If you don't have uv installed run:
5+ 1 . If you don't have ` uv ` installed run:
66
77``` bash
88make setup
99```
1010
11- > This installs uv as a [ standalone application] [ uv-install ] . <br >
12- > For more details, see also the [ uv documentation] [ uv-docs ] . <br >
11+ > This installs ` uv ` as a [ standalone application] [ uv-install ] . <br >
12+ > For more details, see also the [ ` uv ` documentation] [ uv-docs ] . <br >
1313
14142 . Initialize project dependencies with ` uv ` and install ` pre-commit ` hooks:
1515
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class ValueScalingProcessingExpression(ProcessingExpression):
7474 ]
7575]
7676
77- ResizeType : TypeAlias = (
77+ ResizeType : TypeAlias = Optional [
7878 Literal [
7979 "crop" ,
8080 "pad" ,
@@ -87,8 +87,7 @@ class ValueScalingProcessingExpression(ProcessingExpression):
8787 "wrap-fill-outliers" ,
8888 "wrap-inverse-map" ,
8989 ]
90- | None
91- )
90+ ]
9291
9392
9493class ModelBand (MLMBaseModel ):
@@ -99,11 +98,11 @@ class ModelBand(MLMBaseModel):
9998 )
10099 )
101100 # similar to 'ProcessingExpression', but they can be omitted here
102- format : Annotated [str | None , OmitIfNone ] = Field (
101+ format : Annotated [Optional [ str ] , OmitIfNone ] = Field (
103102 default = None ,
104103 description = "" ,
105104 )
106- expression : Annotated [Any | None , OmitIfNone ] = Field (
105+ expression : Annotated [Optional [ Any ] , OmitIfNone ] = Field (
107106 default = None ,
108107 description = "" ,
109108 )
You can’t perform that action at this time.
0 commit comments