class_docstr: Parameters
  ---------
  country_group : h5py.Group
      The group for a single country in an HDF5 daily pricing file.
class_docstr_tok: ["Parameters","--","--","--","--","-","country_group",":","h5py.Group","The","group","for","a","single","country","in","an","HDF5","daily","pricing","file","."]
docstr: Validate that asset identifiers are contained in the daily bars.
  
  Parameters
  ----------
  assets : array-like[int]
     The asset identifiers to validate.
  
  Raises
  ------
  NoDataForSid
      If one or more of the provided asset identifiers are not
      contained in the daily bars.
docstr_tok: ["Validate","that","asset","identifiers","are","contained","in","the","daily","bars",".","Parameters","--","--","--","--","--","assets",":","array-like","[","int","]","The","asset","identifiers","to","validate",".","Raises","--","--","--","NoDataForSid","If","one","or","more","of","the","provided","asset","identifiers","are","not","contained","in","the","daily","bars","."]
code: def _validate_assets(self, assets):
      """Validate that asset identifiers are contained in the daily bars.
  
      Parameters
      ----------
      assets : array-like[int]
         The asset identifiers to validate.
  
      Raises
      ------
      NoDataForSid
          If one or more of the provided asset identifiers are not
          contained in the daily bars.
      """
      missing_sids = np.setdiff1d(assets, self.sids)
  
      if len(missing_sids):
          raise NoDataForSid(
              "Assets not contained in daily pricing file: {}".format(
                  missing_sids
              )
          )
  
imports: from functools import partial
  import h5py
  import logbook
  import numpy
  import pandas
  from six import iteritems, raise_from, viewkeys
  from six.moves import reduce
  from zipline.data.bar_reader import NoDataAfterDate, NoDataBeforeDate, NoDataForSid, NoDataOnDate
  from zipline.data.session_bars import CurrencyAwareSessionBarReader
  from zipline.utils.memoize import lazyval
  from zipline.utils.numpy_utils import bytes_array_to_native_str_object_array
  from zipline.utils.pandas_utils import check_indexes_all_same
label_desc: Use image node_id 8 for calling the HDF5DailyBarReader obj's underlying member method code with example usage: obj._validate_assets(assets) without return types