GeoNode / geoserver-restconfig

geoserver-restconfig is a python library for manipulating a GeoServer instance via the GeoServer RESTConfig API.
MIT License
46 stars 29 forks source link

The selection of layer based on the workspace #12

Open iamtekson opened 4 years ago

iamtekson commented 4 years ago

Describe the bug I am trying to get the required layer from the workspace. But when I look to the code, there is only get_layer function based on the layer_name. According to the current version, the syntax looks similar to,

cat.get_layer(layer_name)

What I purpose is,

cat.get_layer(layer_name, workspace)