salesforce-data-customcode 6.0.6.dev1__py3-none-any.whl → 6.0.6.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- datacustomcode/__init__.py +5 -0
- datacustomcode/client.py +211 -100
- datacustomcode/config.py +5 -0
- datacustomcode/io/reader/base.py +42 -0
- datacustomcode/io/writer/base.py +33 -0
- datacustomcode/run.py +11 -0
- datacustomcode/templates/script/examples/streaming_deltas/entrypoint.py +49 -0
- {salesforce_data_customcode-6.0.6.dev1.dist-info → salesforce_data_customcode-6.0.6.dev2.dist-info}/METADATA +40 -3
- {salesforce_data_customcode-6.0.6.dev1.dist-info → salesforce_data_customcode-6.0.6.dev2.dist-info}/RECORD +12 -11
- {salesforce_data_customcode-6.0.6.dev1.dist-info → salesforce_data_customcode-6.0.6.dev2.dist-info}/WHEEL +0 -0
- {salesforce_data_customcode-6.0.6.dev1.dist-info → salesforce_data_customcode-6.0.6.dev2.dist-info}/entry_points.txt +0 -0
- {salesforce_data_customcode-6.0.6.dev1.dist-info → salesforce_data_customcode-6.0.6.dev2.dist-info}/licenses/LICENSE.txt +0 -0
datacustomcode/__init__.py
CHANGED
|
@@ -23,6 +23,7 @@ __all__ = [
|
|
|
23
23
|
"QueryAPIDataCloudReader",
|
|
24
24
|
"SparkEinsteinPredictions",
|
|
25
25
|
"SparkLLMGateway",
|
|
26
|
+
"StreamingClient",
|
|
26
27
|
"einstein_predict_col",
|
|
27
28
|
"llm_gateway_generate_text_col",
|
|
28
29
|
]
|
|
@@ -34,6 +35,10 @@ def __getattr__(name: str):
|
|
|
34
35
|
from datacustomcode.client import Client
|
|
35
36
|
|
|
36
37
|
return Client
|
|
38
|
+
elif name == "StreamingClient":
|
|
39
|
+
from datacustomcode.client import StreamingClient
|
|
40
|
+
|
|
41
|
+
return StreamingClient
|
|
37
42
|
elif name == "AuthType":
|
|
38
43
|
from datacustomcode.credentials import AuthType
|
|
39
44
|
|
datacustomcode/client.py
CHANGED
|
@@ -21,7 +21,9 @@ from typing import (
|
|
|
21
21
|
ClassVar,
|
|
22
22
|
Dict,
|
|
23
23
|
Optional,
|
|
24
|
+
TypeVar,
|
|
24
25
|
Union,
|
|
26
|
+
cast,
|
|
25
27
|
)
|
|
26
28
|
|
|
27
29
|
from datacustomcode.config import config
|
|
@@ -34,7 +36,12 @@ from datacustomcode.spark.default import DefaultSparkSessionProvider
|
|
|
34
36
|
if TYPE_CHECKING:
|
|
35
37
|
from pathlib import Path
|
|
36
38
|
|
|
37
|
-
from pyspark.sql import
|
|
39
|
+
from pyspark.sql import (
|
|
40
|
+
Column,
|
|
41
|
+
DataFrame as PySparkDataFrame,
|
|
42
|
+
SparkSession,
|
|
43
|
+
)
|
|
44
|
+
from pyspark.sql.streaming import StreamingQuery
|
|
38
45
|
|
|
39
46
|
from datacustomcode.einstein_predictions.spark_base import SparkEinsteinPredictions
|
|
40
47
|
from datacustomcode.einstein_predictions.types import PredictionType
|
|
@@ -44,6 +51,40 @@ if TYPE_CHECKING:
|
|
|
44
51
|
from datacustomcode.spark.base import BaseSparkSessionProvider
|
|
45
52
|
|
|
46
53
|
|
|
54
|
+
def _streaming_source_name() -> str:
|
|
55
|
+
"""Return the streaming transform's read-source name.
|
|
56
|
+
|
|
57
|
+
Resolved from ``config.streaming_source``, which ``run_entrypoint``
|
|
58
|
+
populates from config.json's ``streamingSource`` field.
|
|
59
|
+
|
|
60
|
+
Raises:
|
|
61
|
+
RuntimeError: If no ``streaming_source`` has been configured (e.g. the
|
|
62
|
+
transform's config.json has no ``streamingSource`` field).
|
|
63
|
+
"""
|
|
64
|
+
source = config.streaming_source
|
|
65
|
+
if not source:
|
|
66
|
+
raise RuntimeError(
|
|
67
|
+
"No streaming source configured. A streaming transform must declare "
|
|
68
|
+
"its read source in config.json under 'streamingSource'."
|
|
69
|
+
)
|
|
70
|
+
return source
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def _active_client() -> "_BaseClient":
|
|
74
|
+
"""Return the client backing the module-level Spark column helpers.
|
|
75
|
+
|
|
76
|
+
Prefers an already-initialized singleton so a streaming job reuses its
|
|
77
|
+
:class:`StreamingClient` (and a batch job its :class:`Client`) rather than
|
|
78
|
+
forcing an unrelated client into existence. Falls back to building the
|
|
79
|
+
batch :class:`Client` when neither has been created yet.
|
|
80
|
+
"""
|
|
81
|
+
if Client._instance is not None:
|
|
82
|
+
return Client._instance
|
|
83
|
+
if StreamingClient._instance is not None:
|
|
84
|
+
return StreamingClient._instance
|
|
85
|
+
return Client()
|
|
86
|
+
|
|
87
|
+
|
|
47
88
|
def _build_spark_llm_gateway() -> "SparkLLMGateway":
|
|
48
89
|
"""Instantiate the SDK-configured :class:`SparkLLMGateway`.
|
|
49
90
|
|
|
@@ -99,7 +140,7 @@ def llm_gateway_generate_text_col(
|
|
|
99
140
|
the generated text; on failure, ``status == "ERROR"`` and the
|
|
100
141
|
``error_*`` fields carry diagnostic detail.
|
|
101
142
|
"""
|
|
102
|
-
gateway =
|
|
143
|
+
gateway = _active_client()._get_spark_llm_gateway()
|
|
103
144
|
return gateway.llm_gateway_generate_text_col(template, values, model_id=model_id)
|
|
104
145
|
|
|
105
146
|
|
|
@@ -161,7 +202,7 @@ def einstein_predict_col(
|
|
|
161
202
|
the JSON-serialized prediction payload; on failure, ``status ==
|
|
162
203
|
"ERROR"`` and the ``error_*`` fields carry diagnostic detail.
|
|
163
204
|
"""
|
|
164
|
-
predictions =
|
|
205
|
+
predictions = _active_client()._get_spark_einstein_predictions()
|
|
165
206
|
return predictions.einstein_predict_col(
|
|
166
207
|
model_api_name, prediction_type, features, settings=settings
|
|
167
208
|
)
|
|
@@ -205,39 +246,39 @@ class DataCloudAccessLayerException(Exception):
|
|
|
205
246
|
return msg
|
|
206
247
|
|
|
207
248
|
|
|
208
|
-
|
|
209
|
-
|
|
249
|
+
_ClientT = TypeVar("_ClientT", bound="_BaseClient")
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
class _BaseClient:
|
|
253
|
+
"""Shared machinery for the Data Cloud client singletons.
|
|
210
254
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
can read from DLOs and write to DLOs, read from DMOs and write to DMOs, but you
|
|
214
|
-
cannot read from DLOs and write to DMOs or read from DMOs and write to DLOs.
|
|
215
|
-
Furthermore you cannot mix during merging tables. This class is a singleton to
|
|
216
|
-
prevent accidental mixing of DLOs and DMOs.
|
|
255
|
+
Holds the wiring common to :class:`Client` (batch) and
|
|
256
|
+
:class:`StreamingClient`
|
|
217
257
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
behavior once deployed to Data Cloud. By default, the client intercepts all
|
|
221
|
-
read/write operations and mocks access to Data Cloud. For example, during
|
|
222
|
-
writing, we print to the console instead of writing to Data Cloud.
|
|
258
|
+
This base class is not meant to be instantiated directly; use
|
|
259
|
+
:class:`Client` or :class:`StreamingClient`.
|
|
223
260
|
|
|
224
261
|
Args:
|
|
225
|
-
finder: Find a file path
|
|
226
262
|
reader: A custom reader to use for reading Data Cloud objects.
|
|
227
263
|
writer: A custom writer to use for writing Data Cloud objects.
|
|
264
|
+
spark_provider: Optional custom :class:`BaseSparkSessionProvider`.
|
|
228
265
|
spark_llm_gateway: Optional custom :class:`SparkLLMGateway`.
|
|
229
266
|
spark_einstein_predictions: Optional custom
|
|
230
267
|
:class:`SparkEinsteinPredictions`.
|
|
231
|
-
|
|
232
|
-
Example:
|
|
233
|
-
>>> client = Client()
|
|
234
|
-
>>> file_path = client.find_file_path("data.csv")
|
|
235
|
-
>>> dlo = client.read_dlo("my_dlo")
|
|
236
|
-
>>> client.write_to_dmo("my_dmo", dlo)
|
|
237
|
-
>>> answer = client.llm_gateway_generate_text("Generate a greeting message")
|
|
238
268
|
"""
|
|
239
269
|
|
|
240
|
-
_instance:
|
|
270
|
+
# Each concrete subclass gets its own ``_instance`` slot: reads fall through
|
|
271
|
+
# to this base default of ``None``, but ``cls._instance = ...`` in __new__
|
|
272
|
+
# always writes to the subclass, so ``Client`` and ``StreamingClient`` never
|
|
273
|
+
# share an instance.
|
|
274
|
+
_instance: ClassVar[Optional[_BaseClient]] = None
|
|
275
|
+
# Process-wide Spark session shared across BOTH client types. Unlike
|
|
276
|
+
# ``_instance``, this is written via ``_BaseClient._shared_spark`` (never
|
|
277
|
+
# ``cls._shared_spark``), so the slot lives on the base class and a
|
|
278
|
+
# ``Client`` and a ``StreamingClient`` in the same process reuse one session
|
|
279
|
+
# — and therefore one underlying connection — instead of opening two
|
|
280
|
+
# containing differing state
|
|
281
|
+
_shared_spark: ClassVar[Optional[SparkSession]] = None
|
|
241
282
|
_reader: BaseDataCloudReader
|
|
242
283
|
_writer: BaseDataCloudWriter
|
|
243
284
|
_file: DefaultFindFilePath
|
|
@@ -247,37 +288,44 @@ class Client:
|
|
|
247
288
|
_code_type: str
|
|
248
289
|
|
|
249
290
|
def __new__(
|
|
250
|
-
cls,
|
|
291
|
+
cls: type[_ClientT],
|
|
251
292
|
reader: Optional[BaseDataCloudReader] = None,
|
|
252
293
|
writer: Optional[BaseDataCloudWriter] = None,
|
|
253
294
|
spark_provider: Optional[BaseSparkSessionProvider] = None,
|
|
254
295
|
spark_llm_gateway: Optional[SparkLLMGateway] = None,
|
|
255
296
|
spark_einstein_predictions: Optional[SparkEinsteinPredictions] = None,
|
|
256
297
|
code_type: str = "script",
|
|
257
|
-
) ->
|
|
298
|
+
) -> _ClientT:
|
|
258
299
|
|
|
259
300
|
if cls._instance is None:
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
301
|
+
instance = super().__new__(cls)
|
|
302
|
+
instance._spark_llm_gateway = spark_llm_gateway
|
|
303
|
+
instance._spark_einstein_predictions = spark_einstein_predictions
|
|
263
304
|
# Initialize Readers and Writers from config
|
|
264
305
|
# and/or provided reader and writer
|
|
265
306
|
if reader is None or writer is None:
|
|
266
|
-
# We need a spark because we will initialize readers and writers
|
|
267
|
-
if
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
provider: BaseSparkSessionProvider
|
|
273
|
-
if spark_provider is not None:
|
|
274
|
-
provider = spark_provider
|
|
275
|
-
elif config.spark_provider_config is not None:
|
|
276
|
-
provider = config.spark_provider_config.to_object()
|
|
307
|
+
# We need a spark because we will initialize readers and writers.
|
|
308
|
+
# Reuse the process-wide session if one client already built it,
|
|
309
|
+
# so a Client and a StreamingClient share a single connection.
|
|
310
|
+
if _BaseClient._shared_spark is not None:
|
|
311
|
+
spark = _BaseClient._shared_spark
|
|
277
312
|
else:
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
313
|
+
if config.spark_config is None:
|
|
314
|
+
raise ValueError(
|
|
315
|
+
"Spark config is required when reader/writer is not "
|
|
316
|
+
"provided"
|
|
317
|
+
)
|
|
318
|
+
|
|
319
|
+
provider: BaseSparkSessionProvider
|
|
320
|
+
if spark_provider is not None:
|
|
321
|
+
provider = spark_provider
|
|
322
|
+
elif config.spark_provider_config is not None:
|
|
323
|
+
provider = config.spark_provider_config.to_object()
|
|
324
|
+
else:
|
|
325
|
+
provider = DefaultSparkSessionProvider()
|
|
326
|
+
|
|
327
|
+
spark = provider.get_session(config.spark_config)
|
|
328
|
+
_BaseClient._shared_spark = spark
|
|
281
329
|
|
|
282
330
|
if config.reader_config is None and reader is None:
|
|
283
331
|
raise ValueError(
|
|
@@ -300,66 +348,17 @@ class Client:
|
|
|
300
348
|
else:
|
|
301
349
|
writer_init = writer
|
|
302
350
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
351
|
+
instance._reader = reader_init
|
|
352
|
+
instance._writer = writer_init
|
|
353
|
+
instance._file = DefaultFindFilePath()
|
|
354
|
+
instance._data_layer_history = {
|
|
307
355
|
DataCloudObjectType.DLO: set(),
|
|
308
356
|
DataCloudObjectType.DMO: set(),
|
|
309
357
|
}
|
|
310
|
-
|
|
358
|
+
cls._instance = instance
|
|
359
|
+
elif reader is not None or writer is not None:
|
|
311
360
|
raise ValueError("Cannot set reader or writer after client is initialized")
|
|
312
|
-
return cls._instance
|
|
313
|
-
|
|
314
|
-
def read_dlo(self, name: str) -> PySparkDataFrame:
|
|
315
|
-
"""Read a DLO from Data Cloud.
|
|
316
|
-
|
|
317
|
-
Args:
|
|
318
|
-
name: The name of the DLO to read.
|
|
319
|
-
|
|
320
|
-
Returns:
|
|
321
|
-
A PySpark DataFrame containing the DLO data.
|
|
322
|
-
"""
|
|
323
|
-
self._record_dlo_access(name)
|
|
324
|
-
return self._reader.read_dlo(name) # type: ignore[no-any-return]
|
|
325
|
-
|
|
326
|
-
def read_dmo(self, name: str) -> PySparkDataFrame:
|
|
327
|
-
"""Read a DMO from Data Cloud.
|
|
328
|
-
|
|
329
|
-
Args:
|
|
330
|
-
name: The name of the DMO to read.
|
|
331
|
-
|
|
332
|
-
Returns:
|
|
333
|
-
A PySpark DataFrame containing the DMO data.
|
|
334
|
-
"""
|
|
335
|
-
self._record_dmo_access(name)
|
|
336
|
-
return self._reader.read_dmo(name) # type: ignore[no-any-return]
|
|
337
|
-
|
|
338
|
-
def write_to_dlo(
|
|
339
|
-
self, name: str, dataframe: PySparkDataFrame, write_mode: WriteMode, **kwargs
|
|
340
|
-
) -> None:
|
|
341
|
-
"""Write a PySpark DataFrame to a DLO in Data Cloud.
|
|
342
|
-
|
|
343
|
-
Args:
|
|
344
|
-
name: The name of the DLO to write to.
|
|
345
|
-
dataframe: The PySpark DataFrame to write.
|
|
346
|
-
write_mode: The write mode to use for writing to the DLO.
|
|
347
|
-
"""
|
|
348
|
-
self._validate_data_layer_history_does_not_contain(DataCloudObjectType.DMO)
|
|
349
|
-
return self._writer.write_to_dlo(name, dataframe, write_mode, **kwargs) # type: ignore[no-any-return]
|
|
350
|
-
|
|
351
|
-
def write_to_dmo(
|
|
352
|
-
self, name: str, dataframe: PySparkDataFrame, write_mode: WriteMode, **kwargs
|
|
353
|
-
) -> None:
|
|
354
|
-
"""Write a PySpark DataFrame to a DMO in Data Cloud.
|
|
355
|
-
|
|
356
|
-
Args:
|
|
357
|
-
name: The name of the DMO to write to.
|
|
358
|
-
dataframe: The PySpark DataFrame to write.
|
|
359
|
-
write_mode: The write mode to use for writing to the DMO.
|
|
360
|
-
"""
|
|
361
|
-
self._validate_data_layer_history_does_not_contain(DataCloudObjectType.DLO)
|
|
362
|
-
return self._writer.write_to_dmo(name, dataframe, write_mode, **kwargs) # type: ignore[no-any-return]
|
|
361
|
+
return cast(_ClientT, cls._instance)
|
|
363
362
|
|
|
364
363
|
def find_file_path(self, file_name: str) -> Path:
|
|
365
364
|
"""Resolve a bundled file shipped in the package to an absolute path.
|
|
@@ -487,3 +486,115 @@ class Client:
|
|
|
487
486
|
|
|
488
487
|
def _record_dmo_access(self, name: str) -> None:
|
|
489
488
|
self._data_layer_history[DataCloudObjectType.DMO].add(name)
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
class Client(_BaseClient):
|
|
492
|
+
"""Entrypoint for batch access to Data Cloud objects.
|
|
493
|
+
|
|
494
|
+
This is the object used to read and write bounded snapshots of Data Cloud
|
|
495
|
+
DLOs and DMOs.
|
|
496
|
+
"""
|
|
497
|
+
|
|
498
|
+
_instance: ClassVar[Optional[Client]] = None
|
|
499
|
+
|
|
500
|
+
def read_dlo(self, name: str) -> PySparkDataFrame:
|
|
501
|
+
"""Read a DLO from Data Cloud.
|
|
502
|
+
|
|
503
|
+
Args:
|
|
504
|
+
name: The name of the DLO to read.
|
|
505
|
+
|
|
506
|
+
Returns:
|
|
507
|
+
A PySpark DataFrame containing the DLO data.
|
|
508
|
+
"""
|
|
509
|
+
self._record_dlo_access(name)
|
|
510
|
+
return self._reader.read_dlo(name) # type: ignore[no-any-return]
|
|
511
|
+
|
|
512
|
+
def read_dmo(self, name: str) -> PySparkDataFrame:
|
|
513
|
+
"""Read a DMO from Data Cloud.
|
|
514
|
+
|
|
515
|
+
Args:
|
|
516
|
+
name: The name of the DMO to read.
|
|
517
|
+
|
|
518
|
+
Returns:
|
|
519
|
+
A PySpark DataFrame containing the DMO data.
|
|
520
|
+
"""
|
|
521
|
+
self._record_dmo_access(name)
|
|
522
|
+
return self._reader.read_dmo(name) # type: ignore[no-any-return]
|
|
523
|
+
|
|
524
|
+
def write_to_dlo(
|
|
525
|
+
self, name: str, dataframe: PySparkDataFrame, write_mode: WriteMode, **kwargs
|
|
526
|
+
) -> None:
|
|
527
|
+
"""Write a PySpark DataFrame to a DLO in Data Cloud.
|
|
528
|
+
|
|
529
|
+
Args:
|
|
530
|
+
name: The name of the DLO to write to.
|
|
531
|
+
dataframe: The PySpark DataFrame to write.
|
|
532
|
+
write_mode: The write mode to use for writing to the DLO.
|
|
533
|
+
"""
|
|
534
|
+
self._validate_data_layer_history_does_not_contain(DataCloudObjectType.DMO)
|
|
535
|
+
return self._writer.write_to_dlo(name, dataframe, write_mode, **kwargs) # type: ignore[no-any-return]
|
|
536
|
+
|
|
537
|
+
def write_to_dmo(
|
|
538
|
+
self, name: str, dataframe: PySparkDataFrame, write_mode: WriteMode, **kwargs
|
|
539
|
+
) -> None:
|
|
540
|
+
"""Write a PySpark DataFrame to a DMO in Data Cloud.
|
|
541
|
+
|
|
542
|
+
Args:
|
|
543
|
+
name: The name of the DMO to write to.
|
|
544
|
+
dataframe: The PySpark DataFrame to write.
|
|
545
|
+
write_mode: The write mode to use for writing to the DMO.
|
|
546
|
+
"""
|
|
547
|
+
self._validate_data_layer_history_does_not_contain(DataCloudObjectType.DLO)
|
|
548
|
+
return self._writer.write_to_dmo(name, dataframe, write_mode, **kwargs) # type: ignore[no-any-return]
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
class StreamingClient(_BaseClient):
|
|
552
|
+
"""Entrypoint for streaming (``DELTA_SYNC``) access to Data Cloud objects.
|
|
553
|
+
|
|
554
|
+
This is the streaming counterpart to :class:`Client`. Instead of reading and
|
|
555
|
+
writing bounded snapshots, it reads a DLO/DMO change feed as a streaming
|
|
556
|
+
DataFrame and writes the transformed stream back via a ``StreamingQuery``.
|
|
557
|
+
"""
|
|
558
|
+
|
|
559
|
+
_instance: ClassVar[Optional[StreamingClient]] = None
|
|
560
|
+
|
|
561
|
+
def read_dlo_deltas(self) -> PySparkDataFrame:
|
|
562
|
+
"""Read the streaming change feed (deltas) for a DLO from Data Cloud.
|
|
563
|
+
|
|
564
|
+
For use in a streaming (``DELTA_SYNC``) BYOC transform. Returns a
|
|
565
|
+
streaming DataFrame whose rows carry the change-feed metadata columns
|
|
566
|
+
(``_record_type``, ``_commit_*``) alongside the source columns.
|
|
567
|
+
|
|
568
|
+
Returns:
|
|
569
|
+
A streaming PySpark DataFrame over the DLO change feed.
|
|
570
|
+
"""
|
|
571
|
+
self._record_dlo_access(_streaming_source_name())
|
|
572
|
+
return self._reader.read_dlo_deltas() # type: ignore[no-any-return]
|
|
573
|
+
|
|
574
|
+
def read_dmo_deltas(self) -> PySparkDataFrame:
|
|
575
|
+
"""Read the streaming change feed (deltas) for a DMO from Data Cloud.
|
|
576
|
+
|
|
577
|
+
Returns:
|
|
578
|
+
A streaming PySpark DataFrame over the DMO change feed.
|
|
579
|
+
"""
|
|
580
|
+
self._record_dmo_access(_streaming_source_name())
|
|
581
|
+
return self._reader.read_dmo_deltas() # type: ignore[no-any-return]
|
|
582
|
+
|
|
583
|
+
def write_dlo_deltas(
|
|
584
|
+
self, name: str, dataframe: PySparkDataFrame, **kwargs
|
|
585
|
+
) -> StreamingQuery:
|
|
586
|
+
"""Write a streaming DataFrame of deltas to a DLO in Data Cloud.
|
|
587
|
+
|
|
588
|
+
Starts a streaming query that writes each micro-batch to the
|
|
589
|
+
target DLO and returns the ``StreamingQuery`` handle; the caller
|
|
590
|
+
typically calls ``query.awaitTermination()``.
|
|
591
|
+
|
|
592
|
+
Args:
|
|
593
|
+
name: The name of the DLO to write to.
|
|
594
|
+
dataframe: The streaming PySpark DataFrame to write.
|
|
595
|
+
|
|
596
|
+
Returns:
|
|
597
|
+
The started ``StreamingQuery``.
|
|
598
|
+
"""
|
|
599
|
+
self._validate_data_layer_history_does_not_contain(DataCloudObjectType.DMO)
|
|
600
|
+
return self._writer.write_dlo_deltas(name, dataframe, **kwargs) # type: ignore[no-any-return]
|
datacustomcode/config.py
CHANGED
|
@@ -89,6 +89,9 @@ class ClientConfig(BaseConfig):
|
|
|
89
89
|
spark_provider_config: Union[
|
|
90
90
|
SparkProviderConfig[BaseSparkSessionProvider], None
|
|
91
91
|
] = None
|
|
92
|
+
# Source object name for a streaming (DELTA_SYNC) transform, populated by
|
|
93
|
+
# ``run_entrypoint`` from config.json's ``streamingSource`` field
|
|
94
|
+
streaming_source: Union[str, None] = None
|
|
92
95
|
|
|
93
96
|
def update(self, other: ClientConfig) -> ClientConfig:
|
|
94
97
|
"""Merge this ClientConfig with another, respecting force flags.
|
|
@@ -116,6 +119,8 @@ class ClientConfig(BaseConfig):
|
|
|
116
119
|
self.spark_provider_config = merge(
|
|
117
120
|
self.spark_provider_config, other.spark_provider_config
|
|
118
121
|
)
|
|
122
|
+
if other.streaming_source is not None:
|
|
123
|
+
self.streaming_source = other.streaming_source
|
|
119
124
|
return self
|
|
120
125
|
|
|
121
126
|
|
datacustomcode/io/reader/base.py
CHANGED
|
@@ -41,3 +41,45 @@ class BaseDataCloudReader(BaseDataAccessLayer):
|
|
|
41
41
|
name: str,
|
|
42
42
|
schema: Union[AtomicType, StructType, str, None] = None,
|
|
43
43
|
) -> PySparkDataFrame: ...
|
|
44
|
+
|
|
45
|
+
def read_dlo_deltas(self) -> PySparkDataFrame:
|
|
46
|
+
"""Read the streaming change feed (deltas) for a Data Lake Object.
|
|
47
|
+
|
|
48
|
+
This is the streaming counterpart to :meth:`read_dlo`. It returns a
|
|
49
|
+
streaming DataFrame over the change feed the Data Cloud runtime
|
|
50
|
+
publishes for a streaming (``DELTA_SYNC``) transform. Concrete
|
|
51
|
+
streaming behavior is provided by the deployed Data Cloud runtime; the
|
|
52
|
+
base implementation raises :class:`NotImplementedError` so local
|
|
53
|
+
readers that do not support streaming fail clearly.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
A streaming PySpark DataFrame over the DLO change feed.
|
|
57
|
+
|
|
58
|
+
Raises:
|
|
59
|
+
NotImplementedError: If the active reader does not support streaming
|
|
60
|
+
deltas (e.g. the local development readers).
|
|
61
|
+
"""
|
|
62
|
+
raise NotImplementedError(
|
|
63
|
+
"read_dlo_deltas is only supported when running in the Data Cloud "
|
|
64
|
+
"streaming runtime; the local reader does not support streaming "
|
|
65
|
+
"deltas."
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
def read_dmo_deltas(self) -> PySparkDataFrame:
|
|
69
|
+
"""Read the streaming change feed (deltas) for a Data Model Object.
|
|
70
|
+
|
|
71
|
+
Streaming counterpart to :meth:`read_dmo`. See :meth:`read_dlo_deltas`
|
|
72
|
+
for behavior and the local-development caveat.
|
|
73
|
+
|
|
74
|
+
Returns:
|
|
75
|
+
A streaming PySpark DataFrame over the DMO change feed.
|
|
76
|
+
|
|
77
|
+
Raises:
|
|
78
|
+
NotImplementedError: If the active reader does not support streaming
|
|
79
|
+
deltas (e.g. the local development readers).
|
|
80
|
+
"""
|
|
81
|
+
raise NotImplementedError(
|
|
82
|
+
"read_dmo_deltas is only supported when running in the Data Cloud "
|
|
83
|
+
"streaming runtime; the local reader does not support streaming "
|
|
84
|
+
"deltas."
|
|
85
|
+
)
|
datacustomcode/io/writer/base.py
CHANGED
|
@@ -22,6 +22,7 @@ from datacustomcode.io.base import BaseDataAccessLayer
|
|
|
22
22
|
|
|
23
23
|
if TYPE_CHECKING:
|
|
24
24
|
from pyspark.sql import DataFrame as PySparkDataFrame, SparkSession
|
|
25
|
+
from pyspark.sql.streaming import StreamingQuery
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
class WriteMode(str, Enum):
|
|
@@ -57,3 +58,35 @@ class BaseDataCloudWriter(BaseDataAccessLayer):
|
|
|
57
58
|
def write_to_dmo(
|
|
58
59
|
self, name: str, dataframe: PySparkDataFrame, write_mode: WriteMode
|
|
59
60
|
) -> None: ...
|
|
61
|
+
|
|
62
|
+
def write_dlo_deltas(
|
|
63
|
+
self, name: str, dataframe: PySparkDataFrame
|
|
64
|
+
) -> StreamingQuery:
|
|
65
|
+
"""Write a streaming DataFrame of deltas to a Data Lake Object.
|
|
66
|
+
|
|
67
|
+
Streaming counterpart to :meth:`write_to_dlo`. Starts a streaming query
|
|
68
|
+
that writes each micro-batch to the target DLO via the Data Cloud
|
|
69
|
+
streaming sink and returns the resulting ``StreamingQuery`` handle. The
|
|
70
|
+
runtime owns the trigger and checkpoint location; callers pass only the
|
|
71
|
+
table name. Concrete streaming behavior is provided by the deployed
|
|
72
|
+
Data Cloud runtime; the base implementation raises
|
|
73
|
+
:class:`NotImplementedError`.
|
|
74
|
+
|
|
75
|
+
Args:
|
|
76
|
+
name: Target Data Lake Object name.
|
|
77
|
+
dataframe: Streaming PySpark DataFrame produced from a
|
|
78
|
+
``read_dlo_deltas`` / ``read_dmo_deltas`` source.
|
|
79
|
+
|
|
80
|
+
Returns:
|
|
81
|
+
The started ``StreamingQuery``; the caller drives its lifecycle
|
|
82
|
+
(typically ``query.awaitTermination()``).
|
|
83
|
+
|
|
84
|
+
Raises:
|
|
85
|
+
NotImplementedError: If the active writer does not support streaming
|
|
86
|
+
deltas (e.g. the local development writers).
|
|
87
|
+
"""
|
|
88
|
+
raise NotImplementedError(
|
|
89
|
+
"write_dlo_deltas is only supported when running in the Data Cloud "
|
|
90
|
+
"streaming runtime; the local writer does not support streaming "
|
|
91
|
+
"deltas."
|
|
92
|
+
)
|
datacustomcode/run.py
CHANGED
|
@@ -42,6 +42,15 @@ def _set_config_option(config_obj, key: str, value: Optional[str]) -> None:
|
|
|
42
42
|
config_obj.options[key] = value
|
|
43
43
|
|
|
44
44
|
|
|
45
|
+
def _read_streaming_source(config_json: dict) -> Optional[str]:
|
|
46
|
+
"""Return the streaming source name from config.json's ``streamingSource``."""
|
|
47
|
+
source = config_json.get("streamingSource")
|
|
48
|
+
if not isinstance(source, dict):
|
|
49
|
+
return None
|
|
50
|
+
name = source.get("name")
|
|
51
|
+
return str(name) if name else None
|
|
52
|
+
|
|
53
|
+
|
|
45
54
|
def _update_config_options(profile: Optional[str], sf_cli_org: Optional[str]):
|
|
46
55
|
if sf_cli_org:
|
|
47
56
|
config_key = "sf_cli_org"
|
|
@@ -125,6 +134,8 @@ def run_entrypoint(
|
|
|
125
134
|
_set_config_option(config.reader_config, "dataspace", dataspace)
|
|
126
135
|
_set_config_option(config.writer_config, "dataspace", dataspace)
|
|
127
136
|
|
|
137
|
+
config.streaming_source = _read_streaming_source(config_json)
|
|
138
|
+
|
|
128
139
|
_update_config_options(profile, sf_cli_org)
|
|
129
140
|
|
|
130
141
|
for dependency in dependencies:
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""Streaming BYOC transform: read a DLO change feed and write the deltas back.
|
|
2
|
+
|
|
3
|
+
This example is the streaming counterpart to a normal batch entrypoint. Instead
|
|
4
|
+
of a batch ``Client`` with ``read_dlo`` / ``write_to_dlo`` (which read and write
|
|
5
|
+
a bounded snapshot), it uses a :class:`StreamingClient` and its streaming delta
|
|
6
|
+
methods:
|
|
7
|
+
|
|
8
|
+
* ``client.read_dlo_deltas()`` returns a *streaming* DataFrame over the
|
|
9
|
+
Change Data Feed of the source DLO. Each row carries the source columns plus
|
|
10
|
+
change-feed metadata columns (``_record_type``, ``_commit_*``).
|
|
11
|
+
* ``client.write_dlo_deltas(name, df)`` starts a streaming query that writes
|
|
12
|
+
each micro-batch to the target DLO and returns the ``StreamingQuery`` handle.
|
|
13
|
+
The runtime owns the trigger, and checkpoint location — the caller only
|
|
14
|
+
chooses the table.
|
|
15
|
+
|
|
16
|
+
The transform in between is ordinary PySpark. Because the source is a change
|
|
17
|
+
feed, keep the metadata columns on the DataFrame you hand to
|
|
18
|
+
``write_dlo_deltas`` — the sink relies on them to merge changes correctly.
|
|
19
|
+
|
|
20
|
+
This entrypoint only runs inside the Data Cloud streaming (``DELTA_SYNC``)
|
|
21
|
+
runtime; the local ``datacustomcode run`` readers/writers raise
|
|
22
|
+
``NotImplementedError`` for the delta methods.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from pyspark.sql.functions import col, upper
|
|
26
|
+
|
|
27
|
+
from datacustomcode.client import StreamingClient
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def main():
|
|
31
|
+
client = StreamingClient()
|
|
32
|
+
|
|
33
|
+
# Streaming DataFrame over the source DLO's change feed.
|
|
34
|
+
deltas = client.read_dlo_deltas()
|
|
35
|
+
|
|
36
|
+
# Ordinary PySpark transform.
|
|
37
|
+
transformed = deltas.withColumn("description__c", upper(col("description__c")))
|
|
38
|
+
|
|
39
|
+
# Start the streaming write. write_dlo_deltas returns the StreamingQuery;
|
|
40
|
+
# the trigger and checkpoint location are provided by the runtime.
|
|
41
|
+
query = client.write_dlo_deltas("Account_std_copy__dll", transformed)
|
|
42
|
+
|
|
43
|
+
# Drive the query's lifecycle. In the streaming runtime this blocks until
|
|
44
|
+
# the job is stopped by the platform.
|
|
45
|
+
query.awaitTermination()
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
if __name__ == "__main__":
|
|
49
|
+
main()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: salesforce-data-customcode
|
|
3
|
-
Version: 6.0.6.
|
|
3
|
+
Version: 6.0.6.dev2
|
|
4
4
|
Summary: Data Cloud Custom Code SDK
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -170,15 +170,22 @@ Your Python dependencies can be packaged as .py files, .zip archives (containing
|
|
|
170
170
|
|
|
171
171
|
## API
|
|
172
172
|
|
|
173
|
-
Your entry point script will define logic using the `Client` object which
|
|
173
|
+
Your entry point script will define logic using the `Client` object (for batch transforms) or the `StreamingClient` object (for streaming delta transforms), which wrap the data access layers. Both are singletons; a single transform should use one or the other, not both.
|
|
174
174
|
|
|
175
|
-
You should only need the following methods:
|
|
175
|
+
For a batch transform, use `Client`. You should only need the following methods:
|
|
176
176
|
* `find_file_path(file_name)` – Resolve a bundled file (placed under `payload/files/`) to a `pathlib.Path` that exists. Works the same locally and inside Data Cloud — see [Bundled file resolution](#bundled-file-resolution) below for the full lookup order. Raises `FileNotFoundError` if the file isn't found.
|
|
177
177
|
* `read_dlo(name)` – Read from a Data Lake Object by name
|
|
178
178
|
* `read_dmo(name)` – Read from a Data Model Object by name
|
|
179
179
|
* `write_to_dlo(name, spark_dataframe, write_mode)` – Write to a Data Model Object by name with a Spark dataframe
|
|
180
180
|
* `write_to_dmo(name, spark_dataframe, write_mode)` – Write to a Data Lake Object by name with a Spark dataframe
|
|
181
181
|
|
|
182
|
+
For a streaming (delta) transform, use `StreamingClient`, which exposes the streaming counterparts:
|
|
183
|
+
* `read_dlo_deltas()` – Read the streaming change feed (deltas) of a Data Lake Object as a streaming DataFrame.
|
|
184
|
+
* `read_dmo_deltas()` – Read the streaming change feed (deltas) of a Data Model Object as a streaming DataFrame.
|
|
185
|
+
* `write_dlo_deltas(name, spark_dataframe)` – Write a streaming DataFrame of deltas to a Data Lake Object; returns the started `StreamingQuery`
|
|
186
|
+
|
|
187
|
+
`find_file_path`, `llm_gateway_generate_text`, and `einstein_predict` are available on both clients.
|
|
188
|
+
|
|
182
189
|
For example:
|
|
183
190
|
```python
|
|
184
191
|
from datacustomcode import Client
|
|
@@ -194,6 +201,36 @@ client.write_to_dlo('output_DLO')
|
|
|
194
201
|
> [!WARNING]
|
|
195
202
|
> Currently we only support reading from DMOs and writing to DMOs or reading from DLOs and writing to DLOs, but they cannot mix.
|
|
196
203
|
|
|
204
|
+
### Streaming (delta) transforms
|
|
205
|
+
|
|
206
|
+
Streaming BYOC transforms process a Data Lake Object's Change Data Feed continuously instead of reading a bounded snapshot. Use a `StreamingClient` and its `*_deltas` methods in place of the batch `Client` read/write methods:
|
|
207
|
+
|
|
208
|
+
```python
|
|
209
|
+
from pyspark.sql.functions import col, upper
|
|
210
|
+
|
|
211
|
+
from datacustomcode import StreamingClient
|
|
212
|
+
|
|
213
|
+
client = StreamingClient()
|
|
214
|
+
|
|
215
|
+
# read_dlo_deltas returns a *streaming* DataFrame over the change feed.
|
|
216
|
+
# The runtime resolves the single streaming source, so no name is passed.
|
|
217
|
+
deltas = client.read_dlo_deltas()
|
|
218
|
+
|
|
219
|
+
# Ordinary PySpark transform.
|
|
220
|
+
transformed = deltas.withColumn("description__c", upper(col("description__c")))
|
|
221
|
+
|
|
222
|
+
# write_dlo_deltas starts a streaming query and returns the StreamingQuery.
|
|
223
|
+
# The runtime owns the trigger and checkpoint location; you
|
|
224
|
+
# choose only the target table.
|
|
225
|
+
query = client.write_dlo_deltas("Output__dll", transformed)
|
|
226
|
+
query.awaitTermination()
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
Notes:
|
|
230
|
+
|
|
231
|
+
- These methods only run inside the Data Cloud streaming (`DELTA_SYNC`) runtime. Locally (`datacustomcode run`) they raise `NotImplementedError`, since there is no change feed to stream.
|
|
232
|
+
- A complete runnable entry point is provided in [`examples/streaming_deltas/entrypoint.py`](src/datacustomcode/templates/script/examples/streaming_deltas/entrypoint.py).
|
|
233
|
+
|
|
197
234
|
### Bundled file resolution
|
|
198
235
|
|
|
199
236
|
Place bundled files (CSVs, prompt files, etc.) under `payload/files/`. The same `client.find_file_path("data.csv")` call resolves consistently across all three runtimes:
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
datacustomcode/__init__.py,sha256=
|
|
1
|
+
datacustomcode/__init__.py,sha256=5vvWRk5gb2mZIaVZ9BSPRL45uKSUwmSerxhLp6A4Q-4,2815
|
|
2
2
|
datacustomcode/auth.py,sha256=fpSjhIBdv9trC8yq2vuljAix_Euu-4Ah7HDCGhYjOxI,8309
|
|
3
3
|
datacustomcode/cli.py,sha256=i7hPoQqJskTmx3Odz2wVgkxBnf_PFaIawI12FXhaRUE,13264
|
|
4
|
-
datacustomcode/client.py,sha256=
|
|
4
|
+
datacustomcode/client.py,sha256=jcJrIzOiWxqsjQL-ghSNyCjHsCCOKTin_pquX5ng5bg,24406
|
|
5
5
|
datacustomcode/cmd.py,sha256=ZMs46aydJw2EaU26JgCtZmnqESQFHvvaJz10hnjZTBk,3537
|
|
6
6
|
datacustomcode/common_config.py,sha256=SAUnxj3kqmOeWwPmFoYq4tuxokMgURVm4QwcGi-avL4,1928
|
|
7
|
-
datacustomcode/config.py,sha256=
|
|
7
|
+
datacustomcode/config.py,sha256=lqed3jcWfoIweikSFZelaAoyBa0cXXScL8O6vaqdeRU,4372
|
|
8
8
|
datacustomcode/config.yaml,sha256=ldssmQYPghmYSSPaelm3F2mC99njavhrWsINRSzWymM,933
|
|
9
9
|
datacustomcode/constants.py,sha256=SskQpUPnQE7LjKh4Z3AdZ2p191_0Kf73jV8gdBXDPLU,1436
|
|
10
10
|
datacustomcode/credentials.py,sha256=D-7Zd3Nh_wStdj8_wUy5cnC8M_mdbfBijhIAi-2EbXs,9467
|
|
@@ -32,12 +32,12 @@ datacustomcode/function_utils.py,sha256=y6vaoSSaJ9CeHhjLCNyqzJT4vx6yCePWRxNLz38d
|
|
|
32
32
|
datacustomcode/io/__init__.py,sha256=gamfOD1VnAtEslRBpqh-yKiVjkG_wYWYdSatGIfsN-w,621
|
|
33
33
|
datacustomcode/io/base.py,sha256=gbwZWWVUbCbGR4jIg_4h4qOz8tOMjE4RDTleD23WFKo,973
|
|
34
34
|
datacustomcode/io/reader/__init__.py,sha256=gamfOD1VnAtEslRBpqh-yKiVjkG_wYWYdSatGIfsN-w,621
|
|
35
|
-
datacustomcode/io/reader/base.py,sha256=
|
|
35
|
+
datacustomcode/io/reader/base.py,sha256=2hAqaZvzHvvr5KBEgQSjUrHpidcHkgUXXTbGQG-b8io,3176
|
|
36
36
|
datacustomcode/io/reader/query_api.py,sha256=eVrohrcnTnhSMsGfPRHu5XltjFtGG0hyHt1o4q1hp2w,9340
|
|
37
37
|
datacustomcode/io/reader/sf_cli.py,sha256=x5QacVqRZaZSyph1_wwxo67s8r29wsOcUsOaiF9cDWE,6324
|
|
38
38
|
datacustomcode/io/reader/utils.py,sha256=HlHhPZoHfmWA3mF8kTnd3m4Nd2exaz4NsOJJfQY7Pew,1656
|
|
39
39
|
datacustomcode/io/writer/__init__.py,sha256=gamfOD1VnAtEslRBpqh-yKiVjkG_wYWYdSatGIfsN-w,621
|
|
40
|
-
datacustomcode/io/writer/base.py,sha256=
|
|
40
|
+
datacustomcode/io/writer/base.py,sha256=LtyOtkcEsX3oQZ-2zWFeNutVae1T3ialbGbvwl-7spU,3246
|
|
41
41
|
datacustomcode/io/writer/csv.py,sha256=asty5teBpNQ1fMGHZ7wA3suLhq0sk0lVQPN5x7TOSRk,1555
|
|
42
42
|
datacustomcode/io/writer/print.py,sha256=0g2sP_1Wb95UIyEELWJt3dqM18Iv_CWhDW3mDxcIhns,5105
|
|
43
43
|
datacustomcode/llm_gateway/__init__.py,sha256=rcoGpSkv36tZuAOcTxKkhNpM0qV03qgmer_ej07Vmfc,1088
|
|
@@ -54,7 +54,7 @@ datacustomcode/llm_gateway/types/generate_text_response_builder.py,sha256=6MV6JZ
|
|
|
54
54
|
datacustomcode/llm_gateway_config.py,sha256=ECm9CFqOFOaLHwenvVFAjiRSzG9Eg9fY4pb8nHbQ34c,3312
|
|
55
55
|
datacustomcode/mixin.py,sha256=ZtROqO1W1_D7MV8lw4cw6zzcchJLoZS0aAiXrolYR4k,4914
|
|
56
56
|
datacustomcode/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
-
datacustomcode/run.py,sha256=
|
|
57
|
+
datacustomcode/run.py,sha256=Ky58Di6Nh7gk6Ic-5Jxt3Y4xB3vRNmzlUcoSlK-OLvo,8169
|
|
58
58
|
datacustomcode/scan.py,sha256=Zb9mE733H_xaqyDI-LZjjnIcctMC9j1AaD_kcr9qTh4,14325
|
|
59
59
|
datacustomcode/spark/__init__.py,sha256=12drVVlRiczCxOQw-EzuGtLsikCM8baBXvDEgwvelCI,860
|
|
60
60
|
datacustomcode/spark/base.py,sha256=tlGqM4LxuLoDa7OxJF5nVeb7phO5uvD1DHBQeH7NMMs,1036
|
|
@@ -88,6 +88,7 @@ datacustomcode/templates/script/account.ipynb,sha256=LIbxgiVxflNASdspF2lfpMKkKAT
|
|
|
88
88
|
datacustomcode/templates/script/build_native_dependencies.sh,sha256=ICRrp4f1ATBwPaUiuVGjY-MwiubFswNJLf8gMGU6YNg,197
|
|
89
89
|
datacustomcode/templates/script/examples/employee_hierarchy/employee_data.csv,sha256=C7ggLBfoyi3M2BdMLNyOeKqF-5OO-Da76lkwgWg2cVQ,302
|
|
90
90
|
datacustomcode/templates/script/examples/employee_hierarchy/entrypoint.py,sha256=Mfm3iQtEHTQRW6cmZTwRKdTh3IeGWR-teXrd6x-YLSY,2223
|
|
91
|
+
datacustomcode/templates/script/examples/streaming_deltas/entrypoint.py,sha256=1PpYyZck2j9IRTnoI-kfHbMf21vN8gA49_-qJr3rDjk,1984
|
|
91
92
|
datacustomcode/templates/script/jupyterlab.sh,sha256=IHR3YQ8d_busuyvesByhJgzCKULIFPI-Hqogs0NPhCs,2432
|
|
92
93
|
datacustomcode/templates/script/payload/config.json,sha256=0d2mEMt4NHIeOUTsgiPMuRKdOLIQxmh-Wq-IfEqU-gc,28
|
|
93
94
|
datacustomcode/templates/script/payload/entrypoint.py,sha256=4Uph0ILa5ukk_6C90paK3uzQn0zZvNLr9ho3o_ZwErQ,2474
|
|
@@ -95,8 +96,8 @@ datacustomcode/templates/script/requirements-dev.txt,sha256=OWwuy1awesqOZOS3Zizm
|
|
|
95
96
|
datacustomcode/templates/script/requirements.txt,sha256=qJbqzs5z0Hrx590U3T7dHq_m8UQEx2TdhgrJSz-QHIQ,40
|
|
96
97
|
datacustomcode/token_provider.py,sha256=kGPxdxGZEr6VFknW7jFb9P6wOvRaRo-sfdBN2cUjEZY,6792
|
|
97
98
|
datacustomcode/version.py,sha256=9LlbVrzwBvut1L308QbwNBgxdQk5CrghH39JARVSxms,989
|
|
98
|
-
salesforce_data_customcode-6.0.6.
|
|
99
|
-
salesforce_data_customcode-6.0.6.
|
|
100
|
-
salesforce_data_customcode-6.0.6.
|
|
101
|
-
salesforce_data_customcode-6.0.6.
|
|
102
|
-
salesforce_data_customcode-6.0.6.
|
|
99
|
+
salesforce_data_customcode-6.0.6.dev2.dist-info/METADATA,sha256=ELHH1XxE3sqqmAIfVmKuO1fxn3XpSTH7XaRbZ4VQBuA,27207
|
|
100
|
+
salesforce_data_customcode-6.0.6.dev2.dist-info/WHEEL,sha256=eY7nduwzv-ldUxpzbRlxwvC693Hg6PX8bWDjEHjZ_dk,88
|
|
101
|
+
salesforce_data_customcode-6.0.6.dev2.dist-info/entry_points.txt,sha256=WpQ94UB7UuRCYGOLtJV3vAgm1tl7iVf43VYRWIuNu5Y,74
|
|
102
|
+
salesforce_data_customcode-6.0.6.dev2.dist-info/licenses/LICENSE.txt,sha256=iOi8EmQpfkFhMENi7VYtkl2EqS14pEOccoXHiW2dyPU,11443
|
|
103
|
+
salesforce_data_customcode-6.0.6.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|