The lesson learned is prior to going on far away long term fleet carrier trip make sure it is well equiped. In addition to a couple specialty and general purpose ships and a variety sizes and types of extra modules including mining equipment, limpet controllers, cargo racks, and weapons is well advised. Not just for mining, for other activities too.
I can't imagine trying to refuel my carrier in deep space using a Python. It is bad enough using a well equipped laser mining Imperial Cutter to collect tritium with 4 mining lasers, three 5A collector limpet controllers, 5A prospector controller, and a bunch of cargo racks.