docs: def _create_partitions(self, instance, partitions):
          """Create partitions."""
          for partition in partitions:
              RelationPartition.objects.create(
                  relation=instance,
                  entity=partition['entity'],
                  label=partition.get('label', None),
                  position=partition.get('position', None),
              )