deepjavalibrary / djl-serving

A universal scalable machine learning model deployment solution
Apache License 2.0
183 stars 58 forks source link

[serving] Update python typing to support py38 #2034

Closed tosterberg closed 1 month ago

tosterberg commented 1 month ago

Description

Updating typing nomenclature to support py38, python types are not sub-scriptable in py38 and we should instead use the typing class associated with the type. This will avoid build problems for users using ubuntu 20.04 and below.