File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,14 +46,15 @@ def verify_encrypt_str() -> None:
4646
4747 config : EncryptionConfig = _get_configuration ()
4848
49- # from otdf_python.go import Slice_string
49+ from otdf_python .go import Slice_string
50+
5051 # da = Slice_string(
5152 # [
5253 # "https://example.com/attr/attr1/value/value1",
5354 # "https://example.com/attr/attr1/value/value2",
5455 # ]
5556 # )
56- da = None
57+ da = Slice_string ([])
5758
5859 tdf_manifest_json = EncryptString (
5960 inputText = "Hello from Python" ,
@@ -90,14 +91,15 @@ def verify_encrypt_file() -> None:
9091 SOME_PLAINTEXT_FILE = Path (tmpDir ) / "new-file.txt"
9192 SOME_PLAINTEXT_FILE .write_text ("Hello world" )
9293
93- # from otdf_python.go import Slice_string
94+ from otdf_python .go import Slice_string
95+
9496 # da = Slice_string(
9597 # [
9698 # "https://example.com/attr/attr1/value/value1",
9799 # "https://example.com/attr/attr1/value/value2",
98100 # ]
99101 # )
100- da = None
102+ da = Slice_string ([])
101103 outputFilePath = EncryptFile (
102104 inputFilePath = str (SOME_PLAINTEXT_FILE ),
103105 outputFilePath = str (SOME_ENCRYPTED_FILE ),
You can’t perform that action at this time.
0 commit comments