File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1974,6 +1974,7 @@ def publish_featurestore(
1974
1974
pg_table : str ,
1975
1975
workspace : Optional [str ] = None ,
1976
1976
title : Optional [str ] = None ,
1977
+ advertised : Optional [bool ] = True ,
1977
1978
):
1978
1979
"""
1979
1980
@@ -1983,6 +1984,7 @@ def publish_featurestore(
1983
1984
pg_table : str
1984
1985
workspace : str, optional
1985
1986
title : str, optional
1987
+ advertised : bool, optional
1986
1988
1987
1989
Returns
1988
1990
-------
@@ -2003,8 +2005,12 @@ def publish_featurestore(
2003
2005
)
2004
2006
2005
2007
layer_xml = (
2006
- "<featureType><name>{}</name><title>{}</title></featureType>" .format (
2007
- pg_table , title
2008
+ """<featureType>
2009
+ <name>{0}</name>
2010
+ <title>{1}</title>
2011
+ <advertised>{2}</advertised>
2012
+ </featureType>""" .format (
2013
+ pg_table , title , advertised
2008
2014
)
2009
2015
)
2010
2016
headers = {"content-type" : "text/xml" }
You can’t perform that action at this time.
0 commit comments