MCPcopy Create free account
hub / github.com/adobe/Marinus / split_id

Function split_id

python3_cron_scripts/fetch_azure_dns.py:32–40  ·  view source on GitHub ↗

Data for the response is encoded in the ID URL

(url_id)

Source from the content-addressed store, hash-verified

30
31
32def split_id(url_id):
33 """
34 Data for the response is encoded in the ID URL
35 """
36 parts = url_id.split("/")
37 data = {}
38 for i in range(1, len(parts) - 1, 2):
39 data[parts[i]] = parts[i + 1]
40 return data
41
42
43def process_soa_record(logger, entry):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected