@django_dispatch.receiver(update_tle_signal)
def update_tle_handler(sender, identifier, tle_l1, tle_l2, **kwargs):
    simulation.OrbitalSimulator.check_tle_format(identifier, tle_l1, tle_l2)

    # 1) we directly update the TLE
    tle = tle_models.TwoLineElement.objects.get(identifier=identifier)
    tle.first_line = tle_l1
    tle.second_line = tle_l2
    tle.save(update_fields=['first_line', 'second_line'])
Return the SHA of the blob by the given name in the given tree.
dataset/ETHPy150Open satnet-project/server/services/configuration/signals/tle.py/update_tle_handler--crossover with--dataset/ETHPy150Open devstructure/blueprint/blueprint/git.py/blob