Skip to content

Commit

Permalink
Export predictor sub-types
Browse files Browse the repository at this point in the history
  • Loading branch information
olokobayusuf committed May 29, 2023
1 parent f51102f commit bd0d896
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 0.0.3
*INCOMPLETE*
+ Added `Signature` type for inspecting predictor signatures.
+ Added `Parameter` type for inspecting predictor signature parameters.
+ Added `Acceleration` enumeration for specifying predictor acceleration.
+ Added `PredictorType` enumeration for specifying predictor type.

## 0.0.2
+ Added Function API types and services.
Expand Down
4 changes: 2 additions & 2 deletions fxn/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from .dtype import Dtype
from .feature import Feature
from .featureinput import FeatureInput
#from .prediction import EndpointPrediction, FeatureInput
from .predictor import Predictor, PredictorStatus, AccessMode
#from .prediction import EndpointPrediction, FeatureInput # INCOMPLETE
from .predictor import Acceleration, AccessMode, Parameter, Predictor, PredictorStatus, PredictorType, Signature
from .profile import Profile
from .storage import Storage, UploadType
from .user import User
2 changes: 1 addition & 1 deletion fxn/api/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from .storage import Storage, UploadType

@dataclass(frozen=True)
class Predictor:
class Predictor: # INCOMPLETE # `create`
"""
Predictor.
Expand Down

0 comments on commit bd0d896

Please sign in to comment.