Copy_to returning raw dictionary
See original GitHub issueIs your feature request related to a problem? Please describe. It would be great if we were able to initialize a worksheet from a json. Or alternatively have the worksheet.copy_to method return the worksheet instead of the raw dictionary returned by google
Below the example of a dict returned by the copy_to method. I would love to be able to immediately edit this worksheet.
json
{'sheetId': 1234556, 'title': 'titel', 'index': 6, 'sheetType': 'GRID', 'gridProperties': {'rowCount': 1003, 'columnCount': 25, 'frozenRowCount': 1, 'hideGridlines': True, 'columnGroupControlAfter': True}, 'tabColor': {'red': 0.9882353, 'green': 0.49019608, 'blue': 0.4117647}, 'tabColorStyle': {'rgbColor': {'red': 0.9882353, 'green': 0.49019608, 'blue': 0.4117647}}}
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
Return copy of dictionary excluding specified keys
Save this question. Show activity on this post. I want to make a function that returns a copy of a dictionary excluding keys...
Read more >copy_to | Elasticsearch Guide [8.5] | Elastic
The copy_to parameter allows you to copy the values of multiple fields into a group field, which can then be queried as a...
Read more >Dictionary<TKey,TValue>.KeyCollection.CopyTo(TKey[], Int32 ...
In this article. Copies the Dictionary<TKey,TValue>. KeyCollection elements to an existing one-dimensional Array, starting at the specified array index.
Read more >Query semi-structured data in Databricks
The returned results are strings. ... Copy to clipboard Copy ... SELECT raw:store.bicycle FROM store_data -- the column returned is a string.
Read more >Seldon Python Component — seldon-core documentation
This method should return a Dictionary of metrics as described in the custom metrics docs. An illustrative example is shown below: class ModelWithMetrics(object): ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I looked at your issue and I am sorry but we can’t make it without extra costs.
The
dict
object returned by the API contains only the new sheet properties. it does not contain any informations about the spreadsheet where this sheet has been copied to.I face 2 issues:
Worksheet
instance but we don’t have the parentSpreadsheet
object that will do all the HTTP requestscopy_to
takes theSpreadsheet
ID so we could do something but in the end it will only be like any user could do: 1) open the destination spreadsheet 2) open the new worksheet.About the protected ranges this is a good point, but we will tackle it in a different issue, see #1046
Closing this issue.
Yeah, it’s costly unfortunately.