(self, obj)
| 1987 | } |
| 1988 | ) |
| 1989 | def get_baby_trigger_for(self, obj): |
| 1990 | try: |
| 1991 | chain_object = EvolutionChain.objects.get(baby_trigger_item=obj) |
| 1992 | data = EvolutionChainSummarySerializer( |
| 1993 | chain_object, context=self.context |
| 1994 | ).data |
| 1995 | except EvolutionChain.DoesNotExist: |
| 1996 | data = None |
| 1997 | |
| 1998 | return data |
| 1999 | |
| 2000 | |
| 2001 | ######################## |
nothing calls this directly
no test coverage detected