diff --git a/dataflows/processors/load.py b/dataflows/processors/load.py
index 648f88f..ef94ad5 100644
--- a/dataflows/processors/load.py
+++ b/dataflows/processors/load.py
@@ -182,7 +182,7 @@ class load(DataStreamProcessor):
             else:
                 path = os.path.basename(self.load_source)
                 path = os.path.splitext(path)[0]
-                descriptor = dict(path=path,
+                descriptor = dict(path=self.name or path,
                                   profile='tabular-data-resource')
                 self.resource_descriptors.append(descriptor)
                 descriptor['name'] = self.name or path

0.0.51 breaks passing in named resources to Flow
I need some time to figure out what's up here and to provide you better documention (it's possible this is on my end, if so I will close this issue) but there seems to be an issue with passing in a name for a resource to `load` since 0.0.51. Instead of only using the passed in name, it creates two resources:
1. One using the passed in name, containing the correct headers, the correct types, and no rows.
2. Another using the default empty name (aka the file name), containing the correct headers, the correct rows and no types.

I'll come back to this asap to give you more details, for now I'm using v0.0.50 
diff --git a/tests/test_lib.py b/tests/test_lib.py
index 13580f5..dc5acdc 100644
--- a/tests/test_lib.py
+++ b/tests/test_lib.py
@@ -530,6 +530,25 @@ def test_load_strategies():
     }
 
 
+def test_load_name_path():
+    from dataflows import load
+
+    dp, *_ = Flow(
+        load('data/beatles_age.json', name='foo'),
+        load('data/beatles_age.csv')
+    ).process()
+
+    print(dp.descriptor['resources'])
+
+    res0 = dp.resources[0]
+    res1 = dp.resources[1]
+
+    assert res0.name == 'foo'
+    assert res0.descriptor['path'] == 'foo.json'
+    assert res1.name == 'beatles_age'
+    assert res1.descriptor['path'] == 'beatles_age.csv'
+
+
 def test_load_from_package_resources():
     from dataflows import load
 

pip install -e .[develop]
parse_log_pytest
requirements.txt
pytest pytest-cov
apt-get update apt-get install -y gcc
3.7
requirements/base.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==24.2.0
awesome-slugify==1.6.5
bitarray==3.3.0
blessed==1.20.0
boto3==1.33.13
botocore==1.33.13
cached-property==1.5.2
cachetools==5.5.2
certifi @ file:///croot/certifi_1671487769961/work/certifi
cffi==1.15.1
chardet==5.2.0
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
coverage==7.2.7
cryptography==44.0.2
-e git+https://github.com/datahq/dataflows.git@5e3d5a680605a7adcba55a616406886e63175345#egg=dataflows
dataflows-tabulator==1.54.3
datapackage==1.15.4
distlib==0.3.9
et-xmlfile==1.1.0
exceptiongroup==1.2.2
filelock==3.12.2
greenlet==3.1.1
idna==3.10
ijson==3.3.0
importlib-metadata==6.7.0
importlib-resources==5.12.0
iniconfig==2.0.0
inquirer==2.10.1
isodate==0.7.2
Jinja2==3.1.6
jmespath==1.0.1
jsonlines==3.1.0
jsonpointer==3.0.0
jsonschema==4.17.3
kvfile==1.1.2
linear-tsv==1.1.0
MarkupSafe==2.1.5
mccabe==0.7.0
openpyxl==3.1.3
packaging==24.0
pkgutil_resolve_name==1.3.10
platformdirs==4.0.0
pluggy==1.2.0
pybloom-live==4.0.0
pycodestyle==2.10.0
pycparser==2.21
pydocstyle==6.1.1
pyflakes==3.0.1
pylama==8.4.1
pyproject-api==1.5.3
pyrsistent==0.19.3
pytest==7.4.4
pytest-cov==4.1.0
python-dateutil==2.9.0.post0
python-editor==1.0.4
readchar==4.0.5
regex==2024.4.16
requests==2.31.0
rfc3986==2.0.0
s3transfer==0.8.2
six==1.17.0
snowballstemmer==2.2.0
SQLAlchemy==2.0.40
tableschema==1.21.0
tableschema-sql==2.0.1
tabulate==0.9.0
tabulator==1.53.5
tomli==2.0.1
tox==4.8.0
typing_extensions==4.7.1
unicodecsv==0.14.1
Unidecode==0.4.21
urllib3==1.26.20
virtualenv==20.26.6
wcwidth==0.2.13
xlrd==2.0.1
xmljson==0.2.1
xxhash==3.5.0
zipp==3.15.0

name: dataflows
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==24.2.0
      - awesome-slugify==1.6.5
      - bitarray==3.3.0
      - blessed==1.20.0
      - boto3==1.33.13
      - botocore==1.33.13
      - cached-property==1.5.2
      - cachetools==5.5.2
      - cffi==1.15.1
      - chardet==5.2.0
      - charset-normalizer==3.4.1
      - click==8.1.8
      - colorama==0.4.6
      - coverage==7.2.7
      - cryptography==44.0.2
      - dataflows-tabulator==1.54.3
      - datapackage==1.15.4
      - distlib==0.3.9
      - et-xmlfile==1.1.0
      - exceptiongroup==1.2.2
      - filelock==3.12.2
      - greenlet==3.1.1
      - idna==3.10
      - ijson==3.3.0
      - importlib-metadata==6.7.0
      - importlib-resources==5.12.0
      - iniconfig==2.0.0
      - inquirer==2.10.1
      - isodate==0.7.2
      - jinja2==3.1.6
      - jmespath==1.0.1
      - jsonlines==3.1.0
      - jsonpointer==3.0.0
      - jsonschema==4.17.3
      - kvfile==1.1.2
      - linear-tsv==1.1.0
      - markupsafe==2.1.5
      - mccabe==0.7.0
      - openpyxl==3.1.3
      - packaging==24.0
      - pkgutil-resolve-name==1.3.10
      - platformdirs==4.0.0
      - pluggy==1.2.0
      - pybloom-live==4.0.0
      - pycodestyle==2.10.0
      - pycparser==2.21
      - pydocstyle==6.1.1
      - pyflakes==3.0.1
      - pylama==8.4.1
      - pyproject-api==1.5.3
      - pyrsistent==0.19.3
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - python-dateutil==2.9.0.post0
      - python-editor==1.0.4
      - readchar==4.0.5
      - regex==2024.4.16
      - requests==2.31.0
      - rfc3986==2.0.0
      - s3transfer==0.8.2
      - six==1.17.0
      - snowballstemmer==2.2.0
      - sqlalchemy==2.0.40
      - tableschema==1.21.0
      - tableschema-sql==2.0.1
      - tabulate==0.9.0
      - tabulator==1.53.5
      - tomli==2.0.1
      - tox==4.8.0
      - typing-extensions==4.7.1
      - unicodecsv==0.14.1
      - unidecode==0.04.21
      - urllib3==1.26.20
      - virtualenv==20.26.6
      - wcwidth==0.2.13
      - xlrd==2.0.1
      - xmljson==0.2.1
      - xxhash==3.5.0
      - zipp==3.15.0
prefix: /opt/conda/envs/dataflows

tests/test_lib.py::test_load_name_path
tests/test_lib.py::test_dump_to_sql tests/test_lib.py::test_delete_field tests/test_lib.py::test_stream_simple tests/test_lib.py::test_set_primary_key
tests/test_lib.py::test_add_computed_field tests/test_lib.py::test_add_computed_field_func tests/test_lib.py::test_add_metadata tests/test_lib.py::test_select_field tests/test_lib.py::test_find_replace tests/test_lib.py::test_unpivot tests/test_lib.py::test_unpivot_any_resources tests/test_lib.py::test_concatenate tests/test_lib.py::test_filter_rows tests/test_lib.py::test_filter_rows_callable tests/test_lib.py::test_sort_rows tests/test_lib.py::test_sort_reverse_many_rows tests/test_lib.py::test_duplicate tests/test_lib.py::test_duplicate_many_rows tests/test_lib.py::test_flow_as_step tests/test_lib.py::test_load_from_package tests/test_lib.py::test_load_from_env_var tests/test_lib.py::test_load_from_package_resource_matching tests/test_lib.py::test_load_strategies tests/test_lib.py::test_load_from_package_resources tests/test_lib.py::test_checkpoint tests/test_lib.py::test_load_from_checkpoint tests/test_lib.py::test_update_resource tests/test_lib.py::test_set_type_resources tests/test_lib.py::test_set_type_errors tests/test_lib.py::test_dump_to_path_use_titles tests/test_lib.py::test_load_dates tests/test_lib.py::test_load_dates_timezones tests/test_lib.py::test_add_field tests/test_lib.py::test_load_empty_headers tests/test_lib.py::test_load_xml tests/test_lib.py::test_save_load_dates tests/test_lib.py::test_validate tests/test_lib.py::test_join tests/test_lib.py::test_load_limit_rows tests/test_lib.py::test_set_type_regex
dataflows/processors/load.py
dataflows/processors/load.py