MCPcopy Create free account
hub / github.com/ceph/ceph / copy

Method copy

src/python-common/ceph/deployment/service_spec.py:3687–3690  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3685 return f'TunedProfile({self.profile_name})'
3686
3687 def copy(self) -> 'TunedProfileSpec':
3688 # for making deep copies so you can edit the settings in one without affecting the other
3689 # mostly for testing purposes
3690 return TunedProfileSpec(self.profile_name, self.placement, self.settings.copy())
3691
3692
3693class CephExporterSpec(ServiceSpec):

Callers 3

from_jsonMethod · 0.45
from_jsonMethod · 0.45
_from_json_implMethod · 0.45

Calls 1

TunedProfileSpecClass · 0.85

Tested by

no test coverage detected