In /layers/_ogc/_service.py there are two assert statements that control the format of the URL used to create the OGCFeatureService and OGCCollection. It requires "ogcfeatureserver" to be in the URL, and for the URL to end with a digit.
What's the purpose of these assert statements? The OGC Spec does not specify the URL format. Is this only meant to be used with ESRI hosted services?
They can be bypassed by running python with the optimized flag (-O).
version 24.4.0.1