@@ -12,7 +12,7 @@ Setting up the Basic Data Service:
1212**********************************
1313
1414First we will build the bare bones of our data service. This is the bare minimum to get the service to show up in the
15- TOM. We'll start with three peices of generic code:
15+ TOM. We'll start with three pieces of generic code:
1616
1717 - Our Query class (an extension of `tom_dataservices.dataservice.DataService `)
1818 - Our Form Class (an extension of `tom_dataservices.forms.BaseQueryForm `)
@@ -104,11 +104,11 @@ Once all of these are done, you should be able to see your basic form in a test
104104Customizing your Data Service:
105105******************************
106106
107- The next step is to update our code to have all specific features relevent for our data service. Here we will focus on
108- extending several methods of `DataService ` to be relevent for your data service.
107+ The next step is to update our code to have all of the specific features relevant for our data service. Here we will focus on
108+ extending several methods of `DataService ` to perform the specific tasks needed to interface with your data service.
109109Ultimately there are many things that can be customized for your DataService, and many tools built into the base class
110110to help you do this. This section will take you through the fundamentals to get you started, but you should review the
111- :doc: `full class documentation <../api/tom_dataservices/data_services >` before you procede .
111+ :doc: `full class documentation <../api/tom_dataservices/data_services >` before you precede .
112112
113113
114114Filling out our `MyServiceForm `
@@ -147,7 +147,7 @@ fields.
147147`DataService.query_service `
148148+++++++++++++++++++++++++++++++
149149
150- Next we will need to fill out our `query_service ` module. This is the function that actualy goes and calls the query
150+ Next we will need to fill out our `query_service ` module. This is the function that actually goes and calls the query
151151service using the parameters created by `build_query_parameters `. This function produces query results that can then be
152152interpreted by `query_targets `, `query_photometry `, or other functions to produce specific kinds of results that can be
153153interpreted by your TOM.
@@ -170,7 +170,7 @@ interpreted by your TOM.
170170
171171 Again, depending on the nature of your data service, the `query_service ` function could take many different forms.
172172This may also require you to create a `build_headers ` method, or make use of the `urls `, `get_configuration `, or
173- `get_credentials`methods. Saving the results to `self.query_results ` could save time in other methods by not requireing
173+ `get_credentials`methods. Saving the results to `self.query_results ` could save time in other methods by not requiring
174174you to redo the query.
175175
176176`DataService.query_targets `
@@ -207,7 +207,7 @@ At this point you should be seeing a list of Targets showing up in your TOM afte
207207++++++++++++++++++++++++++++++++++++++++++
208208
209209Continuing with our `target ` example, we need to be able to `create_target_from_query ` in order to actually save the
210- target object resulting from a succesful result for `query_target ` above. This function expects a single instance with
210+ target object resulting from a sucessful result for `query_target ` above. This function expects a single instance with
211211the same format as the list of dictionaries created by `query_targets ` and converts that dictionary into a Target Object
212212returning that object.
213213
@@ -242,7 +242,7 @@ Each of these different kinds of data will require functions in `MyDataService`
242242the data service and returning a list of dictionaries in `query_foo() `, and then translating an instance of that dictionary
243243into a model object with `create_foo_from_query() `.
244244
245- Depending on the specifics of your data service, it may be reasonable to call the `query_foo() ` methods indipendently ,
245+ Depending on the specifics of your data service, it may be reasonable to call the `query_foo() ` methods independently ,
246246and/or part of `query_targets `.
247247
248248.. |image0 | image :: /_static/dataservices_doc/demo_Data_Service.png
0 commit comments