| 217 | naming_convention: Optional[TNamingConventionReferenceArg] = None |
| 218 | |
| 219 | def destination_factory(self, **kwargs) -> Destination[Any, Any]: |
| 220 | dest_type = kwargs.pop("destination", self.destination_type) |
| 221 | dest_name = kwargs.pop("destination_name", self.destination_name) |
| 222 | self.setup() |
| 223 | return Destination.from_reference( |
| 224 | dest_type, self.credentials, destination_name=dest_name, **kwargs |
| 225 | ) |
| 226 | |
| 227 | def raw_capabilities(self) -> DestinationCapabilitiesContext: |
| 228 | dest = Destination.from_reference(self.destination_type) |