Get a segment instance
To know more about the component instance cache_service used below, please refer to this section.
When the segment ID is passed as a parameter, the cache implementation will refer to that particular segment. When the segment ID is not specified explicitly, then it will refer to the default segment.
copy#Get segment instance cache_service = app.cache() segment_service = cache_service.segment()
Last Updated 2025-03-28 18:24:49 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit