File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/datascience/ydata/datascience/common Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 4343 run : |
4444 python -m pip install --upgrade pip
4545 python -m pip install -r requirements-dev.txt
46+ python -m pip install ydata-core
4647
4748 - name : Lint
4849 run : make lint PYTHON=$PYTHON
Original file line number Diff line number Diff line change 1- from enum import Enum , auto
1+ from ydata . core . enum import StringEnum
22
33
4- class PrivacyLevel (Enum ):
4+ class PrivacyLevel (StringEnum ):
55 """Privacy level exposed to the end-user."""
6- HIGH_FIDELITY = auto ()
6+ HIGH_FIDELITY = "HIGH_FIDELITY"
77 """High fidelity"""
8- HIGH_PRIVACY = auto ()
8+ HIGH_PRIVACY = "HIGH_PRIVACY"
99 """High privacy"""
10- BALANCED_PRIVACY_FIDELITY = auto ()
10+ BALANCED_PRIVACY_FIDELITY = "BALANCED_PRIVACY_FIDELITY"
1111 """Balanced privacy/fidelity"""
1212
1313 def __str__ (self ):
You can’t perform that action at this time.
0 commit comments